diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2020-08-12 23:50:00 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2020-08-13 07:08:39 +0200 |
| commit | 3e2e6baee568b0fb9d019fc53974aad30386b824 (patch) | |
| tree | 432202df308ca46ee7f8d26c5021eecdea07cca5 /lib/std/comptime_string_map.zig | |
| parent | e043396b242d727cd72fecda265bd4b78a86958a (diff) | |
| download | zig-3e2e6baee568b0fb9d019fc53974aad30386b824.tar.gz zig-3e2e6baee568b0fb9d019fc53974aad30386b824.zip | |
Add std.os.getFdPath and std.fs.Dir.realpath
`std.os.getFdPath` is very platform-specific and can be used to query
the OS for a canonical path to a file handle. Currently supported hosts
are Linux, macOS and Windows.
`std.fs.Dir.realpath` (and null-terminated, plus WTF16 versions) are
similar to `std.os.realpath`, however, they resolve a path wrt to this
`Dir` instance.
If the input pathname argument turns out to be an absolute path, this
function reverts to calling `realpath` on that pathname completely
ignoring this `Dir`.
Diffstat (limited to 'lib/std/comptime_string_map.zig')
0 files changed, 0 insertions, 0 deletions
