Home | History | Annotate | Download | only in server2

Lines Matching defs:Paths

40   'zipball' prefix that all paths have. The zip files that come straight from
41 GitHub have paths like ['zipball/foo.txt', 'zipball/bar.txt'] but we only
58 paths = []
66 paths.append(path)
67 return cls(zipball, name_prefix, paths)
69 def __init__(self, zipball, name_prefix, paths):
72 self._paths = paths
74 def Paths(self):
75 '''Return all file paths in this zip file.
80 '''Returns all files within a directory at |path|. Not recursive. Paths
242 def Read(self, paths, skip_not_found=False):
243 '''Returns a directory mapping |paths| to the contents of the file at each
250 for path in paths:
251 if path not in repo_zip.Paths():
263 includes child_versions for all paths in the directory.
265 File paths do not include the name of the zip file, which is arbitrary and
274 if path not in repo_zip.Paths():