Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
157
void 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
164
static void init_std_streams_platform ()
165
{
Callers
1
lock
Function · 0.70
Calls
1
System_error
Class · 0.85
Tested by
no test coverage detected