Commit Graph

58 Commits

Author SHA1 Message Date
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