Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTmpCopy ¶
CreateTmpCopy creates a temporary copy of the given file. It returns the file path, a clean up function, and a potential error.
func FindInPathParents ¶
func FindInPathParents( pathToFind string, startPath string, endPath string, testFunc func(string) bool) string
Look for a relative path, ascending through parent directories.
Args:
pathToFind: The relative path to look for. startPath: The path to start the search from. If |startPath| is a directory, it will be included in the directories that are searched. endPath: The path to stop searching. testFunc: The function to use to verify the relative path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.