Documentation
¶
Overview ¶
Package pathutil compares file paths the way the filesystem does.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Real ¶
Real resolves symlinks in p, or in its directory when p itself is gone (an undone creation, a file not written yet). It returns p when neither resolves.
func Same ¶
Same reports whether a and b name the same file: equal once absolute and clean, once symlinks are resolved (macOS temp and home directories are often symlinked), or, when both exist, by file identity (letter case on a case-insensitive volume, a hard link). Windows paths compare without case.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.