github.com/nilium/gitlab-runner@v12.5.0+incompatible/helpers/path/path.go (about) 1 package path 2 3 // Path is used for manipulation/checks of a path depending on the OS. 4 // Each supported OS needs to have its own implementation. 5 type Path interface { 6 Join(elem ...string) string 7 IsAbs(path string) bool 8 IsRoot(path string) bool 9 Contains(basePath, targetPath string) bool 10 }