diff options
author | Nick Young <nick@nickwb.net> | 2019-09-15 00:23:53 +1000 |
---|---|---|
committer | Kevin Song <chipbuster@users.noreply.github.com> | 2019-09-14 09:23:53 -0500 |
commit | 7e891f17c1c6f59f7a8be18e83927271f307dd3d (patch) | |
tree | 1ef229d198f7f0183f8f6ae4467b14fd8dc89f66 /tests/testsuite/git_status.rs | |
parent | 8f03c14582ad61bf4f95a6b69642d8052002d03d (diff) |
perf: Lazy load files from directory (#335)
Changes context to use `once_cell` to lazily evaluate directory listing on first use.
Diffstat (limited to 'tests/testsuite/git_status.rs')
-rw-r--r-- | tests/testsuite/git_status.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/testsuite/git_status.rs b/tests/testsuite/git_status.rs index 3a2626b1e..9859d6170 100644 --- a/tests/testsuite/git_status.rs +++ b/tests/testsuite/git_status.rs @@ -1,5 +1,4 @@ use ansi_term::Color; -use git2::Repository; use std::fs::{self, File}; use std::io; use std::process::Command; |