Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenExisting ¶
OpenExisting opens path without following any symlink in the parent components or final leaf. Refuses non-regular and hardlinked leaves via requireRegularFD so reads through this entry point cannot cross the file-tool boundary onto an outside-of-project inode.
func OpenForWrite ¶
OpenForWrite opens an existing regular file for replacement or creates a missing leaf. Missing parent directories are created through checked no-follow traversal. The returned bool reports whether the file existed.
func RemoveLeaf ¶
RemoveLeaf removes only the final path entry. A symlink leaf is unlinked as a symlink; it is never followed. Hardlinked regular and symlink leaves are refused so snapshot-created-file deletes cannot mutate outside-boundary link state.
Types ¶
This section is empty.