mirror of
https://github.com/vbatts/go-mtree.git
synced 2025-07-14 18:59:10 +00:00
*.go: go-staticcheck linting
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
4760b77e54
commit
3bc8e48538
6 changed files with 6 additions and 42 deletions
|
@ -336,12 +336,6 @@ type fakeFile struct {
|
|||
Xattrs map[string]string
|
||||
}
|
||||
|
||||
// minimal tar archive that mimics what is in ./testdata/test.tar
|
||||
var minimalFiles = []fakeFile{
|
||||
{"x/", "", 0755, '5', 0, 0, nil},
|
||||
{"x/files", "howdy\n", 0644, '0', 0, 0, nil},
|
||||
}
|
||||
|
||||
func makeTarStream(ff []fakeFile) ([]byte, error) {
|
||||
buf := new(bytes.Buffer)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue