Skip to content

Commit

Permalink
Merge pull request ipfs/go-ipfs-files#15 from ipfs/fix/gofmt
Browse files Browse the repository at this point in the history
go format

This commit was moved from ipfs/go-ipfs-files@98673cc
  • Loading branch information
Stebalien authored Mar 20, 2019
2 parents d12be9d + b0f20ff commit ca34ecc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion files/readerfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type ReaderFile struct {
reader io.ReadCloser
stat os.FileInfo

fsize int64
fsize int64
}

func NewBytesFile(b []byte) File {
Expand Down
1 change: 0 additions & 1 deletion files/tarwriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,3 @@ func writeSymlinkHeader(w *tar.Writer, target, fpath string) error {
Typeflag: tar.TypeSymlink,
})
}

2 changes: 1 addition & 1 deletion files/tarwriter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ func TestTarWriter(t *testing.T) {
if cur, err = tr.Next(); err != io.EOF {
t.Fatal(err)
}
}
}

0 comments on commit ca34ecc

Please sign in to comment.