Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TauPath directory where all processing is done TauPath = ".tau" // CachePath is path where tau will store cache items CachePath = ".tau_cache" )
Variables ¶
View Source
var ( // WorkingDir is directory where user is running command from WorkingDir string )
Functions ¶
func EnsureDirectoryExists ¶
func EnsureDirectoryExists(path string)
EnsureDirectoryExists makes sure the entire path exists, all parent folders too.
func Join ¶
Join the paths in arguments together and returned the concated path. If any element is empty or "." it will replace that with "root", just to ensure it is a valid pathname. If first element is empty or not absolute path it will prepend the working directory to path.
func JoinAndCreate ¶
JoinAndCreate joins the paths together and makes sure the path exists
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.