Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PathCompactor ¶
type PathCompactor struct {
HomePath string
}
func NewPathCompactor ¶
func NewPathCompactor() *PathCompactor
func (*PathCompactor) Compact ¶
func (pc *PathCompactor) Compact(path string) string
type PathExpander ¶
type PathExpander struct {
// contains filtered or unexported fields
}
func NewPathExpander ¶
func NewPathExpander(homePath ...string) *PathExpander
func (*PathExpander) GetHomePath ¶
func (pe *PathExpander) GetHomePath() string
func (*PathExpander) HomeDirectory ¶
func (pe *PathExpander) HomeDirectory() (string, error)
func (*PathExpander) SetHomePath ¶
func (pe *PathExpander) SetHomePath(path string) *PathExpander
Click to show internal directories.
Click to hide internal directories.