refactor: Cleaned up the sync and scan commands.

This commit is contained in:
2026-06-18 17:42:14 -04:00
parent 0523c09601
commit 07e60e4ab2
7 changed files with 311 additions and 237 deletions

View File

@@ -12,7 +12,7 @@ cmd_scan :: proc(cmd: ^Command) {
}
defer db_close(&db)
search_dirs := search_paths(db.cfg)
search_dirs := search_paths(db.cfg, context.temp_allocator)
if len(search_dirs) == 0 {
fmt.wprintln(
cmd.err,