Skip to content

Releases: LebJe/CPIOArchiveKit

0.1.0

21 Jul 19:53
f97f35f
Compare
Choose a tag to compare

Changelog

0.1.0 - 2021-07-21

Added

  • Added FileMode.type to get the FileType from FileMode.
  • Added FileMode.rawType to get the file type bits from FileMode.
  • Added a clear parameter to CPIOArchiveWriter.finalize, if set, this will reset the state of the writer so it can be used again.
  • Added CreateArchive, WriteArchive, and ExtractArchive to the examples.

Removed

  • Removed FileType.dir. It has been renamed to directory.

Migration Guide

Use FileMode.is(_:) instead of isSymlink, and isRegularFile:

// Before
if header.mode.isSymlink {
	// `header` describes a symbolic link.
}

// After
if header.mode.is(.symlink) {
	// `header` describes a symbolic link.
}

Added `CPIOArchiveReaderIterator`.

22 Jun 15:53
e8b8fee
Compare
Choose a tag to compare

Changelog

0.0.3 - 2021-06-22

Added

  • Added CPIOArchiveReaderIterator.

0.0.2

11 Jun 16:07
943cb15
Compare
Choose a tag to compare

Changelog

0.0.2 - 2021-06-11

Added

  • Header now conforms to Codable and Equatable.
  • CPIOArchiveReader now has a count property.

Initial Release

17 May 01:50
Compare
Choose a tag to compare

Changelog

0.0.1 - 2021-05-16

Added

Support reading and writing cpio archives.