Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bailey27/cppcryptfs
/ NewInstance
Method
NewInstance
libcppcryptfs/file/cryptfile.cpp:39–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
37
#include
"iobufferpool.h"
38
39
CryptFile *CryptFile::NewInstance(CryptContext *con)
40
{
41
if (con->GetConfig()->m_reverse)
42
return new CryptFileReverse;
43
else
44
return new CryptFileForward;
45
}
46
47
CryptFile::CryptFile()
48
{
Callers
nothing calls this directly
Calls
1
GetConfig
Method · 0.80
Tested by
no test coverage detected