Update package path and fix bugs; add path.match which uses shell pattern matching

This commit is contained in:
gingerBill
2020-09-25 11:43:51 +01:00
parent 654b24e514
commit b42c7f9161
4 changed files with 444 additions and 75 deletions
+4 -2
View File
@@ -9,9 +9,11 @@ import "core:strings"
MAX :: 4096; // @note(bp): apparently PATH_MAX is bullshit
SEPARATOR :: '/';
SEPARATOR_STRING :: "/";
OS_SEPARATOR :: '/';
OS_SEPARATOR_STRING :: "/";
OS_SEPARATORS :: `/`;
OS_SEPARATORS_ARRAY :: []string{`/`};
@(private)
null_term :: proc(str: string) -> string {