Documentation ¶
Overview ¶
Package path contains utilities for manipulating file paths.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Home ¶ added in v0.2.0
func Home() string
Home returns the home directory of the current user or a temporary directory.
func RelFromHome ¶ added in v0.2.0
RelFromHome returns a path relative to the home directory. If the path is not relative to the home directory, the original path is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.