import "go.chromium.org/chromiumos/infra/go/internal/osutils"
Verify that a directory exists at the given relative path.
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.
Verify that the given relative path exists.
Package osutils imports 2 packages (graph). Updated 2021-01-26. Refresh now. Tools for package owners.