Versions in this module Expand all Collapse all v4 v4.0.0 Jun 15, 2026 Changes in this version + var ErrCannotDetermineRoot = errors.New("cannot determine project root") + var ErrDirectoryTraversal = errors.New("path contains directory traversal components") + var ErrPathAbsolute = errors.New("path must not be absolute") + var ErrPathContainsBackslash = errors.New("path must not contain backslashes") + var ErrPathEmpty = errors.New("path is empty") + var ErrResolvesOutsideRoot = errors.New("path resolves outside the project root") + func PathValidateCfs(value string) error + type PathCfs struct + Value string + func PathOsToCfs(osPath *PathOs) (*PathCfs, error) + type PathOs struct + Value string + func PathCfsToOs(cfsPath *PathCfs) (*PathOs, error) + func PathGetProjectRoot() (*PathOs, error)