refactor(findr): Now accepts an allocator parameter.

This commit is contained in:
2026-06-30 12:53:27 -04:00
parent ae42d53f02
commit ca992f05f4
6 changed files with 37 additions and 10 deletions
+1 -1
View File
@@ -491,7 +491,7 @@ db_persist :: proc(db: ^Db, f: ^EnvFile, old_path: string) -> bool {
}
try_move_dir :: proc(db: ^Db, f: ^EnvFile, allocator: mem.Allocator) -> (bool, SyncError) {
roots, ok := find_git_roots(db.cfg)
roots, ok := find_git_roots(db.cfg, context.allocator)
if !ok {
return false, .GitRootFailed
}