gingerBill
14adcb9db8
Use or_break and or_continue where appropriate in the core library
2023-09-30 15:34:39 +01:00
gingerBill
025fc2685d
Add docs to core:path/filepath
2023-02-28 12:55:13 +00:00
Daniel Gavin
25869b7504
Change open to be read only when opening directory
2022-07-25 11:34:03 +02:00
Tetralux
06884da42b
[path/filepath] Change join() to take a []string instead of varargs
...
This makes passing an allocator easier, as you no longer have to resort to
named arguments:
Before:
`join(a, b, c)` became `join(elems={a, b, c}, allocator=ally)`
After:
`join({a, b, c})` becomes `join({a, b, c}, ally)`
2022-05-21 04:48:06 +00:00
Jeroen van Rijn
df32b5b46c
[windows] Fix leak in glob.
2022-03-29 16:13:17 +02:00
gingerBill
f5697dd7f2
Merge branch 'master' into odin-global-constants-as-enums
2022-02-15 15:47:24 +00:00
CiD-
83e9a6b417
fix -vet for filepath/match.odin
2022-02-08 09:21:43 -05:00
gingerBill
3d7d347192
Convert ODIN_OS and ODIN_ARCH to use enums rather than use strings
2022-01-20 19:56:05 +00:00
gingerBill
251da264ed
Remove unneeded semicolons from the core library
2021-08-31 22:21:13 +01:00
gingerBill
4035fec784
Add more uses of or_return
2021-08-15 18:13:56 +01:00
Luka Aleksić
92e23ec397
* Add some procedures to path_unix to mirror the path_windows API
...
* Add files stat_linux and dir_linux to mirror the stat/dir_windows API
* Add helper functions to os_linux that are used by the above
2021-01-21 20:20:38 +01:00
gingerBill
f6e2d74d10
Keep -vet happy
2020-12-14 14:36:45 +00:00
gingerBill
41f6a684e1
Rename slice.sort_proc to slice.sort_by; add slice.sort_by_key
2020-10-16 14:55:36 +01:00
gingerBill
7fc3030c63
Update path/filepath to use new slice.sort; Add sort.reverse_interface
2020-10-14 20:47:13 +01:00
gingerBill
9ae3879956
Add os.stat, os.lstat, os.fstat, filepath.walk
2020-09-28 12:28:02 +01:00
gingerBill
8cc5cd1494
Add package path/filepath; Add os.stat for windows (TODO: unix)
2020-09-25 20:20:53 +01:00