aboutsummaryrefslogtreecommitdiff
path: root/core/path
diff options
context:
space:
mode:
Diffstat (limited to 'core/path')
-rw-r--r--core/path/filepath/match.odin2
-rw-r--r--core/path/filepath/path.odin4
-rw-r--r--core/path/filepath/walk.odin8
3 files changed, 7 insertions, 7 deletions
diff --git a/core/path/filepath/match.odin b/core/path/filepath/match.odin
index 00f5bcc3f..178d5f986 100644
--- a/core/path/filepath/match.odin
+++ b/core/path/filepath/match.odin
@@ -2,7 +2,7 @@
#+build !js
package filepath
-import os "core:os/os2"
+import "core:os"
// match states whether "name" matches the shell pattern
// Pattern syntax is:
diff --git a/core/path/filepath/path.odin b/core/path/filepath/path.odin
index 2f2f7996c..58dc06103 100644
--- a/core/path/filepath/path.odin
+++ b/core/path/filepath/path.odin
@@ -2,8 +2,8 @@
// To process paths such as URLs that depend on forward slashes regardless of the OS, use the slashpath package.
package filepath
-import os "core:os/os2"
-import "core:strings"
+import "core:os"
+import "core:strings"
SEPARATOR_CHARS :: `/\`
diff --git a/core/path/filepath/walk.odin b/core/path/filepath/walk.odin
index 00b063bc7..2e2a4ff54 100644
--- a/core/path/filepath/walk.odin
+++ b/core/path/filepath/walk.odin
@@ -2,7 +2,7 @@
#+build !js
package filepath
-import os "core:os/os2"
+import "core:os"
Walker :: os.Walker
@@ -43,9 +43,9 @@ If an error occurred opening a directory, you may get zero'd info struct and
Example:
package main
- import "core:fmt"
- import "core:strings"
- import os "core:os/os2"
+ import "core:fmt"
+ import "core:strings"
+ import "core:os"
main :: proc() {
w := os.walker_create("core")