std.zip: Remove declarations with expired deprecations

This commit is contained in:
Iain Buclaw 2022-02-15 14:54:28 +01:00
parent 1e30d05a3f
commit 7e4fd2e474

View file

@ -221,14 +221,6 @@ final class ArchiveMember
*/ */
@property @safe pure nothrow @nogc uint expandedSize() const { return _expandedSize; } @property @safe pure nothrow @nogc uint expandedSize() const { return _expandedSize; }
/**
* Should be 0.
*
* Returns: The number of the disk where this member can be found.
*/
deprecated("Multidisk not supported; will be removed in 2.099.0")
@property @safe pure nothrow @nogc ushort diskNumber() const { return 0; }
/** /**
* Data of member in compressed form. * Data of member in compressed form.
* *
@ -452,13 +444,6 @@ public:
private bool _isZip64; private bool _isZip64;
static const ushort zip64ExtractVersion = 45; static const ushort zip64ExtractVersion = 45;
deprecated("Use digitalSignatureLength instead; will be removed in 2.098.0")
static const int digiSignLength = 6;
deprecated("Use zip64EndOfCentralDirLocatorLength instead; will be removed in 2.098.0")
static const int eocd64LocLength = 20;
deprecated("Use zip64EndOfCentralDirLength instead; will be removed in 2.098.0")
static const int eocd64Length = 56;
private Segment[] _segs; private Segment[] _segs;
/** /**
@ -468,30 +453,12 @@ public:
*/ */
@property @safe @nogc pure nothrow ubyte[] data() { return _data; } @property @safe @nogc pure nothrow ubyte[] data() { return _data; }
/**
* 0 since multi-disk zip archives are not supported.
*
* Returns: Number of this disk.
*/
deprecated("Multidisk not supported; will be removed in 2.099.0")
@property @safe @nogc pure nothrow uint diskNumber() const { return 0; }
/**
* 0 since multi-disk zip archives are not supported.
*
* Returns: Number of the disk, where the central directory starts.
*/
deprecated("Multidisk not supported; will be removed in 2.099.0")
@property @safe @nogc pure nothrow uint diskStartDir() const { return 0; }
/** /**
* Number of ArchiveMembers in the directory. * Number of ArchiveMembers in the directory.
* *
* Returns: The number of files in this archive. * Returns: The number of files in this archive.
*/ */
deprecated("Use totalEntries instead; will be removed in 2.099.0") @property @safe @nogc pure nothrow uint totalEntries() const { return cast(uint) _directory.length; }
@property @safe @nogc pure nothrow uint numEntries() const { return cast(uint) _directory.length; }
@property @safe @nogc pure nothrow uint totalEntries() const { return cast(uint) _directory.length; } /// ditto
/** /**
* True when the archive is in Zip64 format. Set this to true to force building a Zip64 archive. * True when the archive is in Zip64 format. Set this to true to force building a Zip64 archive.