mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
* Start removing mixed usages
* Check for directories before opening
* Fix writing
* Kinda fix rebuild
* One more try
* Better internal handling
* Slighty fix a couple more things
* Update RVWorld Compress code to db7d750bba
* Fix build
Co-authored-by: Matt Nadareski <mnadareski@mparticle.com>
53 lines
1.1 KiB
C#
53 lines
1.1 KiB
C#
using System;
|
|
|
|
namespace Compress
|
|
{
|
|
public enum ZipReturn
|
|
{
|
|
ZipGood,
|
|
ZipFileLocked,
|
|
ZipFileCountError,
|
|
ZipSignatureError,
|
|
ZipExtraDataOnEndOfZip,
|
|
ZipUnsupportedCompression,
|
|
ZipLocalFileHeaderError,
|
|
ZipCentralDirError,
|
|
ZipEndOfCentralDirectoryError,
|
|
Zip64EndOfCentralDirError,
|
|
Zip64EndOfCentralDirectoryLocatorError,
|
|
ZipReadingFromOutputFile,
|
|
ZipWritingToInputFile,
|
|
ZipErrorGettingDataStream,
|
|
ZipCRCDecodeError,
|
|
ZipDecodeError,
|
|
ZipFileNameToLong,
|
|
ZipFileAlreadyOpen,
|
|
ZipCannotFastOpen,
|
|
ZipErrorOpeningFile,
|
|
ZipErrorFileNotFound,
|
|
ZipErrorReadingFile,
|
|
ZipErrorTimeStamp,
|
|
ZipErrorRollBackFile,
|
|
ZipTryingToAccessADirectory,
|
|
ZipErrorWritingToOutputStream,
|
|
ZipUntested
|
|
|
|
}
|
|
|
|
public enum ZipOpenType
|
|
{
|
|
Closed,
|
|
OpenRead,
|
|
OpenWrite,
|
|
OpenFakeWrite
|
|
}
|
|
|
|
[Flags]
|
|
public enum ZipStatus
|
|
{
|
|
None = 0x0,
|
|
TrrntZip = 0x1,
|
|
ExtraData = 0x2,
|
|
Trrnt7Zip = 0x4
|
|
}
|
|
} |