Documentation
¶
Overview ¶
Package localfs rejects known network, userspace, and unknown filesystem classes before Hecate performs sensitive in-process reads. This bounds repository-selected remote/FUSE exposure; it cannot make a failing physical local device synchronously cancellable.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnboundedFilesystem = errors.New("path is not on a bounded local filesystem")
Functions ¶
func EnsureBoundedFile ¶
func EnsureBoundedPath ¶
func EnsureBoundedTree ¶
func PathWithinDirectory ¶
PathWithinDirectory reports whether candidate is root or one of its descendants using the host platform's ordinary filepath semantics.
Types ¶
type Inspector ¶
type Inspector struct {
// contains filtered or unexported fields
}
func NewInspector ¶
func (*Inspector) EnsurePath ¶
func (*Inspector) EnsureTree ¶
Click to show internal directories.
Click to hide internal directories.