Lines Matching defs:path
27 "path/filepath"
119 relPath := func(path string) string {
120 rel, err := filepath.Rel(thisDir, path)
122 return path
203 path := filepath.Join(*cachePath, name)
204 if isFile(path) {
205 return ioutil.ReadFile(path)
223 // isFile returns true if path is a file.
224 func isFile(path string) bool {
225 s, err := os.Stat(path)
232 // isDir returns true if path is a directory.
233 func isDir(path string) bool {
234 s, err := os.Stat(path)