What do you think of a tar package?

107 views
Skip to first unread message

Isaac

unread,
Nov 26, 2009, 1:01:45 AM11/26/09
to golang-nuts
Hey folks, what you think of the usefulness of adding a tar package to
the standard packages?

There's already a gzip and a zlib library, and though the tar format
fills a somewhat different role from these two formats, the theme is
still the same.

I personally think a package capable of tar'ing and untar'ing files
would be a nice complement to the aforementioned libraries (tar.gz
anyone?)

P.S. I also think a bzip2 package would be nice.

P.P.S. If there is interest in either of these, I would be interested
in working on them. I think I'll get started on the tar package
regardless, though.

j-g-faustus

unread,
Nov 26, 2009, 1:45:53 AM11/26/09
to golang-nuts
There is already a tar package: http://golang.org/pkg/archive/tar/
Any problem with it?

tanamo

unread,
Nov 26, 2009, 1:25:57 AM11/26/09
to golang-nuts
is it different from this http://golang.org/pkg/archive/tar/ ?

Isaac

unread,
Nov 26, 2009, 2:37:52 AM11/26/09
to golang-nuts
Nope, not at all. Somehow I completely overlooked the existing tar
package... this is especially annoying, as it was at the top of the
page. Oh well, a bzip2 package is still a pretty large gap I think in
the compress family of packages. It might be worth some consideration.

On Nov 26, 1:25 am, tanamo <jimryana...@gmail.com> wrote:
> is it different from thishttp://golang.org/pkg/archive/tar/?

Constantine Peresypkin

unread,
Jan 15, 2023, 6:00:09 PM1/15/23
to golang-nuts
Yes, there is a lot of problems with it.
Mainly it is so low level that it needs hundreds of lines of code to make something of feature parity even with the simplest bsdtar not to mention gnutar.
Reply all
Reply to author
Forward
0 new messages