Documentation
¶
Overview ¶
Package rootfile opens resolved relative paths without following links.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenNoFollow ¶
OpenNoFollow opens a previously resolved path beneath root. Each directory remains pinned while its child opens, so replacing any component with a symlink cannot redirect a read after its content policy was checked. This supplements os.Root containment with a guarantee against in-root redirects. Files are nonblocking so special files cannot stall before the caller stats the returned handle. The caller owns it and decides which types are allowed.
Types ¶
This section is empty.