Documentation ¶ Index ¶ Constants func Sanitize(s string) string type AbsDir type Pathway func NewRoot(rootDir string) (Pathway, error) func NewSet(absDirPaths map[AbsDir]string) (Pathway, error) func ReadSet(path string) (Pathway, error) type RelDir Constants ¶ View Source const PermUrwGrwOr os.FileMode = 0775 Variables ¶ This section is empty. Functions ¶ func Sanitize ¶ added in v0.2.1 func Sanitize(s string) string Types ¶ type AbsDir ¶ type AbsDir string type Pathway ¶ added in v0.2.0 type Pathway interface { AbsDirPath(absDir AbsDir) string AbsRelDirPath(relDir RelDir, absDir AbsDir) string } func NewRoot ¶ added in v0.2.0 func NewRoot(rootDir string) (Pathway, error) func NewSet ¶ added in v0.2.0 func NewSet(absDirPaths map[AbsDir]string) (Pathway, error) func ReadSet ¶ added in v0.2.0 func ReadSet(path string) (Pathway, error) type RelDir ¶ type RelDir string Source Files ¶ View all Source files pathway.goperm.goroot_path_resolver.gosanitize.goset_path_resolver.go Click to show internal directories. Click to hide internal directories.