Lines Matching refs:path

53         ("path", "path=")
60 ("path", "path=")
64 ("path", "path="),
68 ("path", "path="),
85 self.path = None
121 p = self.path
182 # path from the proto area into a different path on the installed
226 # the same target path appears in both sets of
234 # need to make sure that the file path appears in the
241 return lhs.path not in rhs.hardpaths
281 (ftype, self.path, target, mode, owner, group, 0, 1)
295 # Currently, all actions that we support have a "path"
299 self.path = action.attrs["path"]
310 self.target = os.path.normpath(target)
318 target = os.path.normpath(action.get_target_path())
337 def __init__(self, path, mode):
339 self.path = path
343 return '%s: unsupported S_IFMT %07o' % (self.path, self.mode)
356 def __init__(self, root=None, path=None):
358 self.path = path
359 path = os.path.join(root, path)
360 lstat = os.lstat(path)
367 self.hash = self.path
371 self.target = os.path.normpath(os.readlink(path))
374 raise UnsupportedFileFormatError(path, mode)
418 for path in sorted(onlykeys1):
419 print("\t%s" % str(self[path]))
425 for path in sorted(onlykeys2):
426 print("\t%s" % str(other[path]))
430 for path in sorted(common):
431 if self[path] != other[path]:
436 print("%14s %s" % (self.name, self[path]))
437 print("%14s %s" % (other.name, other[path]))
453 RealFileInfo objects, indexed by relative path.
459 path.
463 pdir = os.path.normpath(proto)
464 strippdir = lambda r, n: os.path.join(r, n)[len(pdir)+1:]
467 path = strippdir(root, name)
468 if path not in exceptions:
470 newentries[path] = RealFileInfo(pdir, path)
473 (path, e))
476 exceptions.remove(path)
494 for path, fileinfo in newentries.iteritems():
496 hk2path.setdefault(fileinfo.hardkey, set()).add(path)
532 fileinfo.path = pline[1]
534 fileinfo.target = os.path.normpath(pline[2])
546 for path, fileinfo in newentries.iteritems():
548 hk2path.setdefault(fileinfo.hardkey, set()).add(path)
572 by the relative path of the data source within the proto area.
573 That path may or may not be the same as the path attribute of the
584 mfest.set_content(open(os.path.join(root, mfile)).read())
601 if "path" not in action.attrs or \
624 path = action.hash
626 path = action.attrs["path"]
631 # different actions with the same "path" attribute, we
634 if path in self:
655 self[path] = ActionInfo(action)
656 if modechecks is not None and path not in exceptions:
657 modewarnings.update(self[path].checkmodes(modechecks))
670 stat.S_ISREG(os.lstat(os.path.join(mdir, mfile)).st_mode)):
717 self.add(os.path.normpath(exc[0]))
808 protolists.append(os.path.normpath(arg))
813 manifestdirs.append(os.path.normpath(arg))
816 protodirs.append(os.path.normpath(arg))