Lines Matching full:path
27 "path/filepath"
61 templatePath = flag.String("template", "", "Path to input template file (required)")
62 outputPath = flag.String("out", "", "Path to output generated file (required)")
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)