in Core/src/Impl/Storages/ZipArchiveStorage.cs [99:113]
public async Task<long> GetLengthAsync(SymbolStoragePath file)
{
if (!CanRead)
throw new InvalidOperationException("ZipFileStorage created without Read access");
await Task.Yield();
using (var archive = await myProvider.RentAsync(writable: false))
{
var entry = archive.Archive.GetEntry(SymbolPathToZipPath(file));
if (entry == null)
throw new KeyNotFoundException($"Specified file ({file}) was not found in zip storage");
return archive.GetEntryLength(entry);
}
}