Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SanitizeLabel ¶
SanitizeLabel strips non-printable characters from label and truncates it to maxLabelLen runes.
func ValidatePath ¶
ValidatePath checks that target is contained within root (prevents path traversal). Both paths are resolved to absolute paths before comparison.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.