updater: flush log after each write

This commit is contained in:
Shawn Hoffman
2023-03-09 18:18:09 -08:00
parent 804b94ee9e
commit de0bc06856
5 changed files with 72 additions and 65 deletions

View File

@ -49,6 +49,7 @@ struct TodoList
void Log() const;
};
void LogToFile(const char* fmt, ...);
std::string HexEncode(const u8* buffer, size_t size);
Manifest::Hash ComputeHash(const std::string& contents);
bool RunUpdater(std::vector<std::string> args);