tar-split
tar-split copied to clipboard
checksum-reproducible tar archives (utility/library)
Add a `NextHeader()` method to `tar.Reader` that can reuse a passed-in `Header` structure. When looping through a lengthy archive, calling `Next()` for each entry can end up allocating a _lot_...
Seems that there is an issue on function func (fr *regFileReader) Read(b []byte) (n int, err error) at line 718 ``` Jul 13 11:53:35 ngcore rc.local[1907]: panic: runtime error: slice...
When trimming string values as part of parsing them, use the `string.Trim()` variants that take a callback function instead of a string of characters to trim, so that they won't...
- bsd man page - http://www.freebsd.org/cgi/man.cgi?mtree(8) - linux port - https://github.com/archiecobbs/mtree-port - libarchive supports this format as well - http://linux.die.net/man/5/libarchive-formats
Perhaps the best work around here, will be to have an entry type, that is like Segment and File, but stashes the whole raw bytes of a sparse file entry....
https://github.com/vbatts/tar-split/blame/cc780eeb0b3ffe3ff4b360a8a0bd18f54c5b32ce/tar/asm/disassemble.go#L152 Good afternoon! Can we use defer when closing pW.Close() to minimize the chance of resource leakage?