Home | History | Annotate | Download | only in files

Lines Matching defs:target_

131   // Inotify watches are installed for all directory components of |target_|.
149 // Reconfigure to watch for the most specific parent directory of |target_|
153 // Reconfigure to recursively watch |target_| and all its sub-directories.
155 // - If |target_| does not exist, then clear all the recursive watches.
156 // - Assuming |target_| exists, passing kInvalidWatch as |fired_watch| forces
157 // addition of recursive watches for |target_|.
182 FilePath target_;
188 // |target_| and always stores an empty next component name in |subdir|.
365 DCHECK(target_.empty());
381 // Check whether a path component of |target_| changed.
387 // Check if the change references |target_| or a direct child of |target_|.
391 // |target_| = "/path/to/foo", this is for "foo". Here, check either:
398 // |target_| = "/path/to/foo", this is for {"/", "/path", "/path/to"}.
409 // cannot be "foo". Thus |target_| has not changed.
414 // Update watches if a directory component of the |target_| path
433 (change_on_target_path && created && PathExists(target_))) {
438 callback_.Run(target_, false /* error */);
446 callback_.Run(target_, false /* error */);
453 DCHECK(target_.empty());
458 target_ = path;
463 target_.GetComponents(&comps);
500 target_.clear();
547 if (!DirectoryExists(target_)) {
552 // Check to see if this is a forced update or if some component of |target_|
553 // has changed. For these cases, redo the watches for |target_| and below.
555 UpdateRecursiveWatchesForPath(target_);
559 // Underneath |target_|, only directory changes trigger watch updates.
621 DCHECK(target_.IsParent(path));