aboutsummaryrefslogtreecommitdiff
path: root/core/path/path_error.odin
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-01-17 11:38:15 +0000
committergingerBill <bill@gingerbill.org>2022-01-17 11:38:15 +0000
commit1d293749c2f0751c112e91f1337a83cbc3c5cb04 (patch)
treee8fe3a82ce27ab3e1e5e74b2104e8ae32eadb608 /core/path/path_error.odin
parent2d35a5c1af1f899faa806d49078429c98c8cae78 (diff)
Move `core:path` to `core:path/slashpath`
This is to reduce the confusion that occurs between that package and the `core:path/filepath` package
Diffstat (limited to 'core/path/path_error.odin')
-rw-r--r--core/path/path_error.odin5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/path/path_error.odin b/core/path/path_error.odin
new file mode 100644
index 000000000..2be0b4cf4
--- /dev/null
+++ b/core/path/path_error.odin
@@ -0,0 +1,5 @@
+package path
+
+#panic(
+`core:path/slashpath - for paths separated by forward slashes, e.g. paths in URLs, this does not deal with OS-specific paths
+core:path/filepath - uses either forward slashes or backslashes depending on the operating system, deals with Windows/NT paths with volume letters or backslashes (on the related platforms)`)