aboutsummaryrefslogtreecommitdiff
path: root/core/path
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2026-02-09 15:50:21 +0100
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2026-02-09 15:50:21 +0100
commite7dbabf6681e4e6bcae33398e939c2c9c3cdc879 (patch)
tree91f25462cc2e9f3adf9884720b7f104d4d6d59f5 /core/path
parent8ed264680b1f3f94b6aa5176824d4ccadfc30322 (diff)
core:os -> core:os/old && core:os/os2 -> core:os
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")