7 Commits

Author SHA1 Message Date
juaum
d06572c831 core/os: Add dir procedure 2026-04-04 10:13:19 +02:00
gingerBill
26a4b2bfef Fix perm: int to perm: Permissions 2026-02-19 13:58:02 +00:00
Jeroen van Rijn
95c82e0f76 Fix #6279
If the replacement rune was multi-byte, `os.replace_path_separators` would silently fail to replace anything.

Now it properly handles non-ASCII separator. Additionally added a fast path for when all runes in the input path as well as the replacement separator are simple ASCII.

Test added.
2026-02-15 12:42:55 +01:00
Jeroen van Rijn
faca11d593 Fix os.stem, os.short_stem. 2026-02-13 12:36:15 +01:00
Jeroen van Rijn
97683ae014 Simplify 2026-02-12 10:48:26 +01:00
Jeroen van Rijn
8366e7094a Fix up ABI name for core:os and core:os/old 2026-02-09 16:27:53 +01:00
Jeroen van Rijn
e7dbabf668 core:os -> core:os/old && core:os/os2 -> core:os 2026-02-09 15:50:21 +01:00