Commit Graph

11 Commits

Author SHA1 Message Date
Nathan Fisher 0a94691685 Small tweak in message passing 2023-03-28 20:41:03 -04:00
Nathan Fisher 3d0151610d Fix long filenames when creating tar header from metadata and filename
rather than path
2023-03-28 19:16:38 -04:00
Nathan Fisher 4c80e08731 fix storing filenames longer than 100bytes in tar headers 2023-03-28 19:14:17 -04:00
Nathan Fisher b9116951d5 Creating packages with the cli now working; 2023-03-25 15:15:13 -04:00
Nathan Fisher ffcd6820d0 Extend tar functionality to turn nodes and archives into byte vectors;
Implement package creation using those methods;
2023-03-25 12:28:44 -04:00
Nathan Fisher c3324f203b Ran clippy 2023-03-23 14:53:43 -04:00
Nathan Fisher 85a85a3810 Add `Item` struct, which contains both a `tar::Node` and a plist entry.
This struct can be created from just a `Path` parameter, allowing to
read the data contained in a file only once during package creation or
extraction.
2023-03-23 14:43:25 -04:00
Nathan Fisher 4f44290a48 Add optional owner to node creation from data 2023-03-23 14:09:18 -04:00
Nathan Fisher 405ffd194f Add `Archive` struct to `tar` 2023-03-23 13:14:17 -04:00
Nathan Fisher a53cb726f9 Implement tar::Node creation from raw data + file metadata 2023-03-23 12:11:02 -04:00
Nathan Fisher faf574364a Add basic data structures to represent Tar archives 2023-03-22 18:50:20 -04:00