aboutsummaryrefslogtreecommitdiff
path: root/core/flags/util.odin
Commit message (Collapse)AuthorAgeFilesLines
* Make `core:flags` file open errors more readableJeroen van Rijn3 days1-6/+31
| | | | | | | | | | | | | If it fails because the file doesn't exist: [Open_File_Error#2] Unable to open "foo.file". File not found. If it does exist and the flags are simple (.Read, .Write or both), it'll say this: [Open_File_Error#2] Unable to open "foo.file" with perms 0o444 as read-only It it does exist but fails to open for other reasons, it'll print: [Open_File_Error#2] Unable to open "foo.file" with perms 0o444 and flags File_Flags{....} Future work: Translate permissions from octal to `ls -al` format (e.g. `-rwxrwxrwx`).
* core:os -> core:os/old && core:os/os2 -> core:osJeroen van Rijn6 days1-3/+3
|
* More conflicts during rebaseJeroen van Rijn7 days1-6/+6
|
* Fix broken examples in documentation tester.Jeroen van Rijn2025-04-051-1/+1
| | | | | | | | | No more: ``` We could not find the procedure "pkg_foo_example :: proc()" needed to test the example created for "pkg.foo" The following procedures were found: bar() ```
* Pass in allocator and loc to core:flags.parse()dozn2025-02-151-1/+1
|
* fix `@(optimization_mode)` usage in builtin collectionsLaytan Laats2024-07-081-2/+2
|
* Add package `core:flags`Feoramund2024-06-071-0/+130