Home | History | Annotate | Download | only in kati

Lines Matching refs:prune

299 	apply(evalWriter, string, dirent) (test bool, prune bool)
343 test, prune := op.op.apply(w, path, ent)
344 return !test, prune
350 var prune bool
354 prune = true
357 return test, prune
360 return true, prune
368 test, prune := op.op1.apply(w, path, ent)
370 return test, prune
406 _, prune := fc.apply(w, path, ent)
424 if prune {
425 glog.V(3).Infof("find: prune: %s", path)
494 _, prune := fc.apply(w, dir, dirent{id: id, name: ".", mode: os.ModeDir, lmode: os.ModeDir})
495 if prune {
496 glog.V(3).Infof("find: prune: %s", dir)
507 func (fc findCommand) apply(w evalWriter, path string, ent dirent) (test, prune bool) {
512 prune = true
518 glog.V(2).Infof("apply path:%s ent:%v => test=%t, prune=%t", path, ent, test, prune)
519 return test, prune
736 case "-prune":
853 glog.V(3).Infof("findleaves prune %s in %s", ent.name, dir)
895 errFindleavesEmptyPrune = errors.New("findleaves: empty prune")
923 case strings.HasPrefix(tok, "--prune="):
924 prune := filepath.Base(strings.TrimPrefix(tok, "--prune="))
925 if prune == "" {
928 p.fc.prunes = append(p.fc.prunes, prune)