public void DiscardStagedPackage(HashingWriteStream packageStream) { packageStream.Dispose(); FileSystem.DeleteFile(packageStream.FileLocation); }
public virtual IFastZipPackage LoadStagedPackage(HashingWriteStream packageStream) { packageStream.Dispose(); return(FastZipPackage.Open(packageStream.FileLocation, packageStream.Hash)); }