Skip to content

Conversation

@euanh
Copy link
Collaborator

@euanh euanh commented Mar 25, 2025

Motivation

Libraries should have as few dependencies as possible. Tar only depends on Foundation because of a convenience wrapper function which can easily be handled in the caller.

Modifications

  • Remove the public func tar(_ data: Data, filename: String) throws -> [UInt8] wrapper

Result

No functional change to containertool. Tar no longer depends on Foundation.

Test Plan

Existing tests continue to pass.

@euanh euanh merged commit 9016863 into apple:main Mar 25, 2025
20 checks passed
@euanh euanh deleted the tar-foundation branch March 25, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant