Commit Graph

70 Commits

Author SHA1 Message Date
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
283228ff46 Spell check format spec 2023-07-05 00:37:17 -04:00
Nathan Fisher
2db3303f90 Use bold in table headings 2023-07-05 00:35:48 -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
31e39f39f5 Add space in between description and contents heading in README 2023-07-04 21:08:30 -04:00
0415cc20fe Change crate name to 'haggis' and add a README 2023-07-04 21:04:15 -04:00
13c82f79da Add doc comments for many public facing types 2023-07-04 20:13:38 -04:00
7346b40df8 Add BSD license 2023-07-04 01:30:11 -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
8386ca76d3 Renamed to tar-ng 2023-07-02 00:53:21 -04:00
Nathan Fisher
0ddfb168f5 Initial commit 2023-07-02 00:44:39 -04:00