Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunDirname ¶
func RunDirname(w io.Writer, args []string, opts DirnameOptions) error
RunDirname prints the directory portion of each path
Types ¶
type DirnameOptions ¶
type DirnameOptions struct {
JSON bool // --json: output as JSON
}
DirnameOptions configures the dirname command behavior
type DirnameResult ¶
DirnameResult represents dirname output for JSON
Click to show internal directories.
Click to hide internal directories.