Documentation
¶
Overview ¶
Package pathutil centralizes filesystem containment checks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadFileWithin ¶
ReadFileWithin reads target through an open handle to root. The rooted read follows symlinks only while they remain inside root, so validation and use cannot be separated by a pathname race.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.