mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
parent
725e98fb47
commit
dcf072e00b
2 changed files with 29 additions and 8 deletions
|
|
@ -120,9 +120,9 @@ public sealed class FileCacheManager : IDisposable
|
|||
|
||||
public List<FileCacheEntity> GetAllFileCaches() => _fileCaches.Values.SelectMany(v => v).ToList();
|
||||
|
||||
public string GetCacheFilePath(string hash, string extension, bool isTemporaryFile)
|
||||
public string GetCacheFilePath(string hash, string extension)
|
||||
{
|
||||
return Path.Combine(_configService.Current.CacheFolder, hash + "." + extension + (isTemporaryFile ? ".tmp" : string.Empty));
|
||||
return Path.Combine(_configService.Current.CacheFolder, hash + "." + extension);
|
||||
}
|
||||
|
||||
public FileCacheEntity? GetFileCacheByHash(string hash)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue