Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/posener/tarfs
An implementation of the FileSystem interface for tar files.
https://github.com/posener/tarfs
filesystem go tar
Last synced: 2 months ago
JSON representation
An implementation of the FileSystem interface for tar files.
- Host: GitHub
- URL: https://github.com/posener/tarfs
- Owner: posener
- License: apache-2.0
- Created: 2017-03-10T22:13:11.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-13T18:47:56.000Z (almost 5 years ago)
- Last Synced: 2024-10-10T12:06:01.169Z (2 months ago)
- Topics: filesystem, go, tar
- Language: Go
- Size: 14.6 KB
- Stars: 58
- Watchers: 3
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-go - tarfs - An implementation of the FileSystem interface for tar files. - ★ 25 (Files)
- awesome-go-extra - tarfs - 03-10T22:13:11Z|2020-03-13T18:47:56Z| (File Handling / Advanced Console UIs)
README
# TarFS
[![Build Status](https://travis-ci.org/posener/tarfs.svg?branch=master)](https://travis-ci.org/posener/tarfs)
[![codecov](https://codecov.io/gh/posener/tarfs/branch/master/graph/badge.svg)](https://codecov.io/gh/posener/tarfs)
[![GoDoc](https://godoc.org/github.com/posener/tarfs?status.svg)](http://godoc.org/github.com/posener/tarfs)
[![Go Report Card](https://goreportcard.com/badge/github.com/posener/tarfs)](https://goreportcard.com/report/github.com/posener/tarfs)A wrapper around [`tar.Reader`](https://golang.org/pkg/archive/tar/#Reader).
* Implements the [`FileSystem` interface](https://godoc.org/github.com/kr/fs#FileSystem) for tar files.
* Adds an `Open` method, that enables reading of file according to its' path.## Get
`go get -u github.com/posener/tarfs`
## Example
See [the example](./examples/example_test.go).