Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Expand ¶
Expand expands a path like "~", "~/", "~/foo". Paths like "~foo/bar" are unsupported.
FIXME: is there an existing library for this?
func IsTildePath ¶
IsTildePath returns true if the path is "~" or starts with "~/". This means Expand() can expand it with the home directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.