Lines Matching refs:file_path
27 file_path = root
30 file_path = path
32 return file_path, hash_path
48 file_path, hash_path = _GetPaths(path)
50 if file_path in file_buckets:
58 file_buckets[file_path] = []
61 file_buckets[file_path].append(bucket)
103 for file_path, buckets in sorted(files.iteritems()):
106 print '%-11s %s' % (','.join(buckets), file_path)
108 print '%-11s %s' % ('not found', file_path)
126 for file_path, buckets in sorted(files.iteritems()):
128 raise IOError('%s not found in Cloud Storage.' % file_path)
130 for file_path, buckets in sorted(files.iteritems()):
134 logging.info('Skipping %s, no action needed.' % file_path)
138 file_hash = cloud_storage.ReadHash(file_path + '.sha1')
155 for file_path, buckets in sorted(files.iteritems()):
156 file_hash = cloud_storage.ReadHash(file_path + '.sha1')
178 for file_path in args.files:
179 file_hash = cloud_storage.CalculateHash(file_path)
182 hash_path = file_path + '.sha1'
188 cloud_storage.Insert(args.bucket, file_hash, file_path)