aboutsummaryrefslogtreecommitdiff
path: root/lib/std/std.zig
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2020-09-16 20:59:45 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-09-17 17:22:26 -0400
commit5e3fa0e94f947c632aa584b9e13bfa2fe241fae1 (patch)
treed2361876d4a8bfe9e5ffab6fc7db81ad33d6ec73 /lib/std/std.zig
parent3672a187999c3db6eba35d9a9184e7cc066ed629 (diff)
downloadzig-5e3fa0e94f947c632aa584b9e13bfa2fe241fae1.tar.gz
zig-5e3fa0e94f947c632aa584b9e13bfa2fe241fae1.zip
Add rename to std.fs API
- Moves fs.rename functions to fs.renameAbsolute to match other functions outside of fs.Dir - Adds fs.Dir.rename that takes two paths relative to the given Dir - Adds fs.rename that takes two separate Dir's that the given paths are relative to (for renaming across directories without having to make the second path relative to a single directory) - Fixes FileNotFound error return in std.os.windows.MoveFileExW - Returns error.RenameAcrossMountPoints from renameatW + Matches the RenameAcrossMountPoints error return in renameatWasi/renameatZ
Diffstat (limited to 'lib/std/std.zig')
0 files changed, 0 insertions, 0 deletions