Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Rel ¶
Rel strips the leading "/" prefix from the path string, effectively turning an absolute path into one relative to the root directory. A path that is just "/" is treated specially, returning just ".".
The elements in a file path are separated by slash ('/', U+002F) characters, regardless of host operating system convention.
func ScriptFile ¶
Constructs platform-specific temporary script file with a given prefix On Windows such a file must have .bat extension Returns triplet where - filePath is a location of file - rootPath refers to temporary root directory the filePath is in (everything under the rootPath (including rootPath) should be removed when no longer needed) - error indicates possible error
Types ¶
This section is empty.