Searched refs:new_file (Results 1 – 3 of 3) sorted by relevance
43 with open(file_path, 'w') as new_file:44 new_file.write(content)
71 bool SafeReplaceFile(std::string_view old_file, std::string_view new_file) { in SafeReplaceFile() argument83 if (adb_rename(new_file.data(), old_file.data()) != 0) { in SafeReplaceFile()84 PLOG(ERROR) << "Unable to rename file (" << new_file << " => " << old_file << ")"; in SafeReplaceFile()
330 for (const FilesystemInterface::File& new_file : new_files) { in DeltaReadPartition() local336 FilterExtentRanges(new_file.extents, new_visited_blocks); in DeltaReadPartition()351 GetOldFile(old_files_map, new_file.name); in DeltaReadPartition()362 new_file.deflates, in DeltaReadPartition()363 new_file.name, // operation name in DeltaReadPartition()