Home | History | Annotate | Download | only in dist

Lines Matching refs:Dir

74 // run runs the command line cmd in dir.
81 func run(dir string, mode int, cmd ...string) string {
87 xcmd.Dir = dir
163 func bgrun(dir string, cmd ...string) {
165 run(dir, CheckExit|ShowOutput|Background, cmd...)
308 // xreaddir replaces dst with a list of the names of the files and subdirectories in dir.
309 // The names are relative to dir; they are not full paths.
310 func xreaddir(dir string) []string {
311 f, err := os.Open(dir)
318 fatal("reading %s: %v", dir, err)
323 // xreaddir replaces dst with a list of the names of the files in dir.
324 // The names are relative to dir; they are not full paths.
325 func xreaddirfiles(dir string) []string {
326 f, err := os.Open(dir)
333 fatal("reading %s: %v", dir, err)
488 // xsamefile reports whether f1 and f2 are the same file (or dir)