mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 21:05:34 +08:00
refs #494 Get the filename used for serializing a specific cached value, or list of all files used by whole cache.
This commit is contained in:
@@ -46,6 +46,16 @@ namespace BlackCore
|
||||
return dir;
|
||||
}
|
||||
|
||||
QString CDataCache::filenameForKey(const QString &key)
|
||||
{
|
||||
return persistentStore() + "/" + CValueCache::filenameForKey(key);
|
||||
}
|
||||
|
||||
QStringList CDataCache::enumerateStore() const
|
||||
{
|
||||
return enumerateFiles(persistentStore());
|
||||
}
|
||||
|
||||
QString lockFileError(const QLockFile &lock)
|
||||
{
|
||||
switch (lock.error())
|
||||
|
||||
Reference in New Issue
Block a user