Documentation
¶
Index ¶
- func Abs(p string) (string, error)
- func Basename(path string) string
- func Clean(p string) string
- func Dirname(path string) string
- func Join(paths ...string) string
- func Realpath(path string) (string, error)
- func RunAbs(w io.Writer, args []string, opts AbsOptions) error
- func RunClean(w io.Writer, args []string, opts CleanOptions) error
- type AbsOptions
- type AbsResult
- type CleanOptions
- type CleanResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AbsOptions ¶ added in v1.5.0
type AbsOptions struct {
JSON bool // --json: output as JSON
}
AbsOptions configures the path abs command behavior
type CleanOptions ¶ added in v1.5.0
type CleanOptions struct {
JSON bool // --json: output as JSON
}
CleanOptions configures the path clean command behavior
type CleanResult ¶ added in v1.5.0
CleanResult represents clean output for JSON
Click to show internal directories.
Click to hide internal directories.