Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultRoot = "default"
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Roots ¶
type Roots struct {
// contains filtered or unexported fields
}
Roots resolves paths against a fixed set of canonical workspace roots.
func (*Roots) ResolveRead ¶
ResolveRead resolves an existing path and verifies its symlink-expanded path remains in the root.
func (*Roots) ResolveWrite ¶
ResolveWrite resolves a possibly new path using its nearest existing ancestor and verifies it remains in the root.
Click to show internal directories.
Click to hide internal directories.