Lines Matching full:path
17 DIFF_GIT_RE = re.compile(r'^diff --git a/(?P<path>.*) ')
43 help='treat following argument as a file path, not '
58 parent = os.path.dirname(os.path.realpath(__file__)) + "/../"
59 if (os.path.realpath(cwd) != os.path.realpath(parent)):
104 psname = os.path.basename(patchset).replace('.', '_')
132 # If @path is a patch file, returns the paths touched by the patch as well
142 p = match.group('path')
163 # Does @path match @pattern?
167 def match_pattern(path, pattern): argument
168 # Append a trailing slash if path is an existing directory, so that it
170 if not path.endswith('/') and os.path.isdir(path):
171 path += '/'
178 return not not re.match(rep, path)
181 def get_subsystems_for_path(subsystems, path, strict): argument
188 if match_pattern(path, pattern):
194 if match_pattern(path, pattern):
268 if os.path.exists(arg):
278 if os.path.exists(arg):
282 # Not a patch, consider the path itself
283 # as_posix() cleans the path a little bit (suppress leading ./ and
286 for path in patch_paths:
289 ss_for_path = get_subsystems_for_path(all_subsystems, path,
296 paths += [path]
308 for path in paths:
309 ss.update(get_subsystems_for_path(all_subsystems, path, args.strict))