Documentation
¶
Overview ¶
Package fsutil provides small shared filesystem helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exists ¶
Exists reports whether path exists on disk (following symlinks). It returns false for any stat error, including permission errors.
func ReadPinnedFile ¶
ReadPinnedFile reads a file through a directory handle pinned to its canonical parent. This closes the symlink/rename race between path validation and the read operation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.