Home
last modified time | relevance | path

Searched refs:tmp_file (Results 1 – 1 of 1) sorted by relevance

/device/google/cuttlefish/host/commands/assemble_cvd/
Dboot_image_utils.cc65 bool DeleteTmpFileIfNotChanged(const std::string& tmp_file, const std::string& current_file) { in DeleteTmpFileIfNotChanged() argument
67 ReadFile(current_file) != ReadFile(tmp_file)) { in DeleteTmpFileIfNotChanged()
68 if (!RenameFile(tmp_file, current_file).ok()) { in DeleteTmpFileIfNotChanged()
75 RemoveFile(tmp_file); in DeleteTmpFileIfNotChanged()