mirror of
https://github.com/sbrow/envr.git
synced 2026-06-27 10:38:33 -04:00
perf: Replaced fd with custom internals.
This commit is contained in:
4
db.odin
4
db.odin
@@ -517,8 +517,8 @@ update_dir :: proc(f: ^EnvFile, new_dir: string) {
|
||||
|
||||
find_moved_dirs :: proc(d: ^Db, f: ^EnvFile) -> ([dynamic]string, bool) {
|
||||
feats := check_features()
|
||||
if .Fd not_in feats || .Git not_in feats {
|
||||
fmt.println("Error: fd and git are required for moved dir detection")
|
||||
if .Git not_in feats {
|
||||
fmt.println("Error: git is required for moved dir detection")
|
||||
return {}, false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user