MCPcopy Create free account
hub / github.com/AGWA/git-crypt / remove_file

Function remove_file

util-unix.cpp:157–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void remove_file (const std::string& filename)
158{
159 if (unlink(filename.c_str()) == -1 && errno != ENOENT) {
160 throw System_error("unlink", filename, errno);
161 }
162}
163
164static void init_std_streams_platform ()
165{

Callers 1

lockFunction · 0.70

Calls 1

System_errorClass · 0.85

Tested by

no test coverage detected