diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2020-09-16 20:59:45 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-09-17 17:22:26 -0400 |
| commit | 5e3fa0e94f947c632aa584b9e13bfa2fe241fae1 (patch) | |
| tree | d2361876d4a8bfe9e5ffab6fc7db81ad33d6ec73 /src/stage1/tokenizer.cpp | |
| parent | 3672a187999c3db6eba35d9a9184e7cc066ed629 (diff) | |
| download | zig-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 'src/stage1/tokenizer.cpp')
0 files changed, 0 insertions, 0 deletions
