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

Class CaseCacheNode

libcppcryptfs/filename/casecache.h:38–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36#define CASE_CACHE_ENTRIES 100 // this is directories, not files
37
38class CaseCacheNode {
39
40public:
41 wstring m_key; // upercased path
42 wstring m_path; // correct-case path of directory
43 unordered_map<wstring, wstring> m_files; // map of uppercase filenames to correct-case names
44 list<CaseCacheNode*>::iterator m_list_it; // holds position in lru list
45 LONGLONG m_timestamp;
46 FILETIME m_filetime;
47 // disallow copying
48 CaseCacheNode(CaseCacheNode const&) = delete;
49 void operator=(CaseCacheNode const&) = delete;
50 CaseCacheNode();
51 virtual ~CaseCacheNode();
52};
53
54// these values returned by lookup()
55#define CASE_CACHE_FOUND 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected