Documentation
¶
Overview ¶
Package fs contains focused filesystem helpers shared by Arcane Go modules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( FilePerm os.FileMode = 0o644 DirPerm os.FileMode = 0o755 )
var ErrInvalidPath = errors.New("invalid workspace path")
ErrInvalidPath indicates that a logical workspace path is malformed.
Functions ¶
func FormatMode ¶
FormatMode formats a Go file mode like POSIX stat output.
func LogicalPath ¶
LogicalPath converts an os.Root-relative path to an absolute logical path.
func NormalizeLogicalPath ¶
NormalizeLogicalPath validates an absolute logical workspace path and returns the relative form accepted by os.Root.
Types ¶
This section is empty.