Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bailey27/cppcryptfs
/ Open
Method
Open
libcppcryptfs/file/openfiles.h:84–92 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
82
}
83
84
void Open(HANDLE h)
85
{
86
auto it = m_handles.find(h);
87
if (it == m_handles.end()) {
88
m_handles[h] = 1;
89
} else {
90
it->second++;
91
}
92
}
93
94
bool Close(HANDLE h)
95
{
Callers
1
OpenFile
Method · 0.80
Calls
1
find
Method · 0.80
Tested by
no test coverage detected