Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeFsOnDiskSecure ¶
func MakeFsOnDiskSecure(root string) (filesys.FileSystem, error)
MakeFsOnDiskSecure returns a secure file system which asserts any paths it handles to be inside root.
Types ¶
type ConstraintError ¶
ConstraintError records an error and the operation and file that violated it.
func (*ConstraintError) Error ¶
func (e *ConstraintError) Error() string
func (*ConstraintError) Unwrap ¶
func (e *ConstraintError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.