I'm creating a base tar file that I then need to modify in further
operations for a set of configurations. Basically I create the initial tar
in Go and then subsequent modifications involve duplicating the tar and
omitting certain files.
When I create the tar I use the file pntr to keep of track of where the
file and the header live (allowing me to skip them later) and then spit out
a struct called ArchiveInfo which lists the names, the index and the length
My issue is that when I even try to make a 1-1 copy I seem to be creating a
badly formed binary file, as the tar fails to extract. Should I be using a
more low level way to create a complete copy?
My output function is https://gist.github.com/callumj/10573518
Thanks in advance!
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/d/optout.