Commit Graph

68 Commits

Author SHA1 Message Date
02b9e4d1db Add Sender to parallel methods for user feedback 2023-07-05 23:21:30 -04:00
9ed4d503d1 Fix parallel archive creation, add archive streaming functions 2023-07-05 17:28:29 -04:00
797aa16a0d Add par_create_archive function 2023-07-05 14:27:40 -04:00
8a3bd19185 Add create_archive function 2023-07-05 13:35:37 -04:00
e5cbf16064 Finish Node::extract method 2023-07-05 13:07:46 -04:00
5fd1d09e77 Some work on extract for Node, requiring some plumbing which is in
`nix` module
2023-07-05 10:01:40 -04:00
Nathan Fisher
616b16f7db Add Eof file type, indicating end of archive. Publish first draft of the
specification.
2023-07-05 00:25:31 -04:00
13c82f79da Add doc comments for many public facing types 2023-07-04 20:13:38 -04:00
8f8e54220c Implement iterator for a stream of nodes 2023-07-04 01:19:07 -04:00
82ede31688 Refactor into separate modules 2023-07-04 00:51:47 -04:00
Nathan Fisher
162e027365 Finish from_path for Node 2023-07-03 23:37:57 -04:00
Nathan Fisher
2c8d05b9f8 Add Kind enum and method to get it's value from a u32 2023-07-03 19:04:55 -04:00
Nathan Fisher
d69198d7f8 Fix some logic errors, use some of the read/write methods previously set
up
2023-07-03 18:54:44 -04:00
458e572bb0 Begin adding from_path method for Node. Need to work out detection
of whether the file is a block/char/pipe special file and if so get
major and minor numbers.
2023-07-03 10:43:51 -04:00
f93374c70a Finish refactor from previous commit, unifying Header and Node
structures
2023-07-03 00:03:32 -04:00
Nathan Fisher
bdbcd41617 Setup to replace separate header/node idiom with unified Node. Enum
`Filetype` with now have `Normal(File)` (todo) which will include the
size, checksum and data, removing the `size` field from `Header`. The
`Header` struct will become the new `Node`.
2023-07-02 22:52:26 -04:00
Nathan Fisher
85e55dc456 Add Node structure 2023-07-02 01:32:34 -04:00
Nathan Fisher
0ddfb168f5 Initial commit 2023-07-02 00:44:39 -04:00