| 36 | #define CASE_CACHE_ENTRIES 100 // this is directories, not files |
| 37 | |
| 38 | class CaseCacheNode { |
| 39 | |
| 40 | public: |
| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected