mirror of
https://github.com/AGWA/git-crypt.git
synced 2026-01-07 02:24:35 -08:00
Add multi-platform remove_file helper
And use it for deleting internal keys
This commit is contained in:
1
util.hpp
1
util.hpp
@@ -65,6 +65,7 @@ int exec_command (const std::vector<std::string>&, std::ostream& output);
|
||||
int exec_command_with_input (const std::vector<std::string>&, const char* p, size_t len);
|
||||
bool successful_exit (int status);
|
||||
void touch_file (const std::string&);
|
||||
void remove_file (const std::string&);
|
||||
std::string escape_shell_arg (const std::string&);
|
||||
uint32_t load_be32 (const unsigned char*);
|
||||
void store_be32 (unsigned char*, uint32_t);
|
||||
|
||||
Reference in New Issue
Block a user