Dropped from TZipFileStream

This commit is contained in:
patrick dw 2015-06-06 08:57:13 -05:00
commit a400987590
2 changed files with 3 additions and 2 deletions

View file

@ -109,12 +109,13 @@ proc addFile*(z: var ZipArchive, dest: string, src: Stream) =
# -------------- zip file stream ---------------------------------------------
type
TZipFileStream = object of StreamObj
ZipFileStream = object of StreamObj
f: PZipFile
atEnd: bool
PZipFileStream* =
ref ZipFileStream ## a reader stream of a file within a zip archive
{.deprecated: [TZipFileStream: ZipFileStream].}
proc fsClose(s: Stream) = zip_fclose(PZipFileStream(s).f)
proc fsAtEnd(s: Stream): bool = PZipFileStream(s).atEnd