File tree Expand file tree Collapse file tree
src/CacheTower/Providers/FileSystem Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ namespace CacheTower.Providers.FileSystem
2727
2828 private HashAlgorithm FileNameHashAlgorithm { get ; } = MD5 . Create ( ) ;
2929
30- private ConcurrentDictionary < string ? , IManifestEntry > ? CacheManifest { get ; set ; }
30+ private ConcurrentDictionary < string ? , TManifest > ? CacheManifest { get ; set ; }
3131 private ConcurrentDictionary < string ? , AsyncReaderWriterLock > FileLock { get ; }
3232
3333 /// <summary>
@@ -94,7 +94,7 @@ private async Task TryLoadManifestAsync()
9494 {
9595 if ( File . Exists ( ManifestPath ) )
9696 {
97- CacheManifest = await DeserializeFileAsync < ConcurrentDictionary < string ? , IManifestEntry > > ( ManifestPath ) ;
97+ CacheManifest = await DeserializeFileAsync < ConcurrentDictionary < string ? , TManifest > > ( ManifestPath ) ;
9898 }
9999 else
100100 {
@@ -103,7 +103,7 @@ private async Task TryLoadManifestAsync()
103103 Directory . CreateDirectory ( DirectoryPath ) ;
104104 }
105105
106- CacheManifest = new ConcurrentDictionary < string ? , IManifestEntry > ( ) ;
106+ CacheManifest = new ConcurrentDictionary < string ? , TManifest > ( ) ;
107107 await SerializeFileAsync ( ManifestPath , CacheManifest ) ;
108108 }
109109 }
You can’t perform that action at this time.
0 commit comments