refactor: re-ordered procs by calling order.

This commit is contained in:
2026-07-27 13:31:05 -04:00
parent 86a4da6cba
commit 149902cf91
4 changed files with 157 additions and 133 deletions
+4 -4
View File
@@ -231,10 +231,6 @@ search_paths :: proc(cfg: Config, allocator := context.allocator) -> [dynamic]st
return result
}
envr_dir :: proc(config_path: string) -> string {
return filepath.dir(config_path)
}
// User is responsible for freeing the path
data_path :: proc(
config_path: string,
@@ -246,3 +242,7 @@ data_path :: proc(
return filepath.join([]string{envr_dir(config_path), "data.envr"}, allocator)
}
envr_dir :: proc(config_path: string) -> string {
return filepath.dir(config_path)
}