-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop our lame hacked up tar header implementation for the real thing from the 'tar' crate. Reading data directly into it is actually pretty easy. Add a reader-side utility class for splitstream. Also: add a new SplitStreamData type for inline/external data and port our existing helper functions to use it. Add a 'cfsctl ls' command which lists out the content of a tar splitstream. So far it just lists files and if they are inline or external references. This is the start of support for creating a dumpfile... This is some dreadfully ugly code, but it seems to be working. Probably some tests would be nice at some point...
- Loading branch information
1 parent
716331d
commit f4f9af0
Showing
5 changed files
with
159 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters