Searched refs:patch_metadata_path (Results 1 – 4 of 4) sorted by relevance
158 def _CheckPatchMetadataPath(patch_metadata_path): argument169 if not os.path.isfile(patch_metadata_path):170 raise ValueError('Invalid file provided: %s' % patch_metadata_path)172 if not patch_metadata_path.endswith('.json'):173 raise ValueError('File does not end in ".json": %s' % patch_metadata_path)225 patch_metadata_path = os.path.join(filesdir_path, patch_metadata_file)228 _CheckPatchMetadataPath(patch_metadata_path)234 svn_version, patch_metadata_path, filesdir_path, src_path, mode)
410 patch_metadata_path = patch_info_dict['modified_metadata']412 os.path.basename(patch_metadata_path))414 StagePatchMetadataFileForCommit(patch_metadata_path)
445 patch_metadata_path = '/abs/path/to/filesdir/PATCHES'451 patch_metadata_path)455 '%s' % patch_metadata_path)464 patch_metadata_path = '/abs/path/to/filesdir/PATCHES.json'467 patch_metadata_path)
168 def InvalidPatchMetadataFile(patch_metadata_path): argument169 self.assertEqual(patch_metadata_path, abs_path_to_patch_file)