pathways

package module
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2026 License: AGPL-3.0 Imports: 6 Imported by: 50

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL