MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / get_deletable_files

Function get_deletable_files

libcppcryptfs/context/cryptcontext.cpp:81–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81static void get_deletable_files(CryptContext *con, vector<wstring>& files)
82{
83
84 files.clear();
85
86 assert(con);
87
88 if (!con)
89 return;
90
91 if (con->GetConfig()->DirIV()) {
92 files.push_back(DIR_IV_NAME);
93 }
94
95 if (con->m_delete_spurrious_files && !con->GetConfig()->m_PlaintextNames
96 && !con->GetConfig()->m_reverse) {
97 files.push_back(L"desktop.ini");
98 }
99}
100
101bool CryptContext::FinalInitBeforeMounting(bool use_key_cache)
102{

Callers 1

Calls 2

DirIVMethod · 0.80
GetConfigMethod · 0.80

Tested by

no test coverage detected