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
@@ -4,9 +4,11 @@ import "core:strings"
import win32 "core:sys/windows"
SEPARATOR :: '\\';
SEPARATOR_STRING :: "\\";
OS_SEPARATOR :: '\\';
OS_SEPARATOR_STRING :: "\\";
OS_SEPARATORS :: `/\`;
OS_SEPARATORS_ARRAY :: []string{`/`, `\`};
@(private)
null_term :: proc "contextless" (str: string) -> string {