Documentation
¶
Overview ¶
Package pathutil provides filesystem-path normalization for SessionStore composition helpers. Opaque tenant/session IDs must never pass through it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Canonicalize ¶
Canonicalize returns sorted, duplicate-free canonical filesystem paths. It resolves the deepest existing prefix through symlinks and appends a missing suffix. Empty inputs are ignored and any ambiguous resolution fails closed.
Types ¶
type CanonicalPathError ¶
CanonicalPathError reports that a filesystem path could not be resolved without ambiguity.
func (*CanonicalPathError) Error ¶
func (e *CanonicalPathError) Error() string
func (*CanonicalPathError) Unwrap ¶
func (e *CanonicalPathError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.