blob: 8ebe5682cf8db5112f81c2541ffbca89a933b00f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#pragma once
#include <zencore/iohash.h>
#include <filesystem>
namespace zen {
/**
*/
class ZenCacheTracker
{
public:
ZenCacheTracker(std::filesystem::path StateDirectory);
~ZenCacheTracker();
void TrackAccess(std::string_view BucketSegment, const IoHash& HashKey);
private:
struct Impl;
Impl* m_Impl = nullptr;
};
void cachetracker_forcelink();
} // namespace zen
|