ar icon indicating copy to clipboard operation
ar copied to clipboard

Golang ar archive file library

Results 10 ar issues
Sort by recently updated
recently updated
newest added

Provides a means to get a seekable, incrementally-readable handle on each individual file, rather than requiring reads to be directly into memory. Always easier to discuss a concrete implementation. :)

Returning `[]byte`s means that tools using this library need to have enough memory available to store the data they're reading, even if the algorithms they're applying to that data would...

Issues: https://github.com/blakesmith/ar/issues/4

When writing unaligned files, and the Writer Write function returns n+n2, err it simply panics when writing to a bytes.Buffer with io.Copy. I have created a testcase: https://github.com/xor-gate/ar/commit/9e954ed1813f6fab8801215ae0667c009e348ddc See: *...

The implementation was taken from tar in the Go std lib. I am not sure if ar supports anything else other than regular files but i failed to find a...

The initial occasion was that the example was not rendered correctly on godoc.org. Then I saw various golint warnings and fixed those too. There are also some whitespace changes in...

This is really a superset of #4. Currently, https://github.com/blakesmith/ar/blob/809d4375e1fb5bb262c159fc3ec2e7a86a8bfd28/writer.go#L93-L96 essentially closes the file after each call to `Write`, which means you can't use the API to write a file one...