Discover Packages
github.com/GoogleContainerTools/kpt
internal
cmdexport
pathutil
package
Version:
v1.0.0-alpha.8
Opens a new window with list of versions in this module.
Published: Jun 15, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
This package contains some path-relevant utilities.
Exists returns true only if path exists and is accessible.
IsInsideDir checks if path is within directory.
Both path and directory have to be absolute paths.
Rel, like path.Rel, converts a path into a relative path to directory with the knowledge of cwd.
Cwd, which should be an absolute path, will be used if either base or path is a relative paths.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.