Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunRealpath ¶
func RunRealpath(w io.Writer, args []string, opts RealpathOptions) error
RunRealpath prints the resolved absolute path for each argument
Types ¶
type RealpathOptions ¶
type RealpathOptions struct {
JSON bool // --json: output as JSON
}
RealpathOptions configures the realpath command behavior
type RealpathResult ¶
RealpathResult represents realpath output for JSON
Click to show internal directories.
Click to hide internal directories.