mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-15 16:57:10 +00:00
Chnaged about constructor(destructor) in cache.h
This commit is contained in:
parent
84bdd51021
commit
98d55582eb
@ -60,15 +60,15 @@ class StatCache
|
|||||||
bool IsCacheNoObject;
|
bool IsCacheNoObject;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
StatCache();
|
||||||
|
~StatCache();
|
||||||
|
|
||||||
void Clear(void);
|
void Clear(void);
|
||||||
bool GetStat(std::string& key, struct stat* pst, headers_t* meta, bool overcheck, const char* petag, bool* pisforce);
|
bool GetStat(std::string& key, struct stat* pst, headers_t* meta, bool overcheck, const char* petag, bool* pisforce);
|
||||||
// Truncate stat cache
|
// Truncate stat cache
|
||||||
bool TruncateCache(void);
|
bool TruncateCache(void);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
StatCache();
|
|
||||||
~StatCache();
|
|
||||||
|
|
||||||
// Reference singleton
|
// Reference singleton
|
||||||
static StatCache* getStatCacheData(void) {
|
static StatCache* getStatCacheData(void) {
|
||||||
return &singleton;
|
return &singleton;
|
||||||
|
Loading…
Reference in New Issue
Block a user