mirror of
https://github.com/sbrow/envr.git
synced 2026-08-26 09:53:32 -04:00
refactor: re-ordered procs by calling order.
This commit is contained in:
+4
-4
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user