Skip to content

Commit

Permalink
symlinks resolving is currently not implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Philipp Hafer committed Mar 7, 2022
1 parent ddb4d05 commit 27d6ce0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/std/fs/path.zig
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,8 @@ fn asciiEqlIgnoreCase(s1: []const u8, s2: []const u8) bool {
}

/// On Windows, this calls `resolveWindows` and on POSIX it calls `resolvePosix`.
/// Note: Dont use for symlinks, because Windows and Posix having different behavior.
/// Note: Symlinks currently dont work and should not be used,
/// because Windows and Posix having different behavior.
/// On Windows, symlinks are resolved after `..` is resolved.
/// On POSIX, symlinks are resolved eagerly.
pub fn resolve(allocator: Allocator, paths: []const []const u8) ![]u8 {
Expand Down

0 comments on commit 27d6ce0

Please sign in to comment.