package
Version:
v0.2.3
Opens a new window with list of versions in this module.
Published: Sep 1, 2015
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
ExpandAbs expand path to absolute path
ExpandHome expand ~ to user's home dir
Home return current user's Home dir
IsRelative check whether a path is relative
In these condition: path is empty, start with '[.~][/\]', '/', "[a-z]:\"
IsRoot check wether or not path is root of filesystem
IsWinRoot check whether a path is windows absolute path with disk letter
LastDir return last dir of path,
if path is dir, return itself
else return path's contain dir name
ProgramDir return dir of program use os.Args[0]
Source Files
¶
Click to show internal directories.
Click to hide internal directories.