You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The call to std::fs::canonicalize makes it so it's possible to specify relative paths like ../somepath while not being in the repo root, for example.
The downside is that to make that happen, it needs to resolve symlinks (. and .. are hardlinks), so this includes any symlinks you might be providing the path to: you're going to get a link to the real file, rather than to the symlink (if the symlink points to something in the git repository, otherwise you're gonna get jumbled up garbage)
PRs are super welcome!
The text was updated successfully, but these errors were encountered:
The call to
std::fs::canonicalize
makes it so it's possible to specify relative paths like../somepath
while not being in the repo root, for example.The downside is that to make that happen, it needs to resolve symlinks (
.
and..
are hardlinks), so this includes any symlinks you might be providing the path to: you're going to get a link to the real file, rather than to the symlink (if the symlink points to something in the git repository, otherwise you're gonna get jumbled up garbage)PRs are super welcome!
The text was updated successfully, but these errors were encountered: