Documentation
¶
Overview ¶
Package pathvalidate holds shared relative-path rules for Git and object-store export paths.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RejectTraversal ¶
RejectTraversal returns an error when path is absolute or contains parent traversal.
func ValidateRelativeObjectPath ¶
ValidateRelativeObjectPath normalizes and rejects absolute paths, traversal, and null bytes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.