Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = NewCommand()
Cmd represents the graph command
Functions ¶
Types ¶
type AbsolutePath ¶
type AbsolutePath string
AbsolutePath is a normalized absolute filesystem path.
func (AbsolutePath) String ¶
func (p AbsolutePath) String() string
type PathResolver ¶
type PathResolver struct {
// contains filtered or unexported fields
}
PathResolver resolves raw user paths relative to a configured base directory.
func NewPathResolver ¶
func NewPathResolver(baseDir string, allowOutside bool) (PathResolver, error)
func (PathResolver) BaseDir ¶
func (r PathResolver) BaseDir() string
func (PathResolver) Resolve ¶
func (r PathResolver) Resolve(path RawPath) (AbsolutePath, error)
Click to show internal directories.
Click to hide internal directories.