Commit 1fe92061 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Run gofmt.

parent f1a7913d
......@@ -71,9 +71,9 @@ func (me *ZipDirTree) FindDir(name string) *ZipDirTree {
}
type ZipFileFuse struct {
zipReader *zip.Reader
tree *ZipDirTree
ZipFileName string
zipReader *zip.Reader
tree *ZipDirTree
ZipFileName string
fuse.DefaultPathFilesystem
}
......@@ -101,7 +101,6 @@ func zipFilesToTree(files []*zip.File) *ZipDirTree {
}
func NewZipFileFuse(name string) *ZipFileFuse {
z := new(ZipFileFuse)
r, err := zip.OpenReader(name)
......
......@@ -4,6 +4,7 @@ import (
"testing"
"fmt"
)
var _ = fmt.Println
func TestIntToExponent(t *testing.T) {
......@@ -29,7 +30,7 @@ func TestBufferPool(t *testing.T) {
bp := NewBufferPool()
b1 := bp.AllocBuffer(PAGESIZE)
_ = bp.AllocBuffer(2*PAGESIZE)
_ = bp.AllocBuffer(2 * PAGESIZE)
bp.FreeBuffer(b1)
b1_2 := bp.AllocBuffer(PAGESIZE)
......
......@@ -117,4 +117,3 @@ func (me *FuseDir) ReadDir(input *ReadIn) (*DirEntryList, Status) {
func (me *FuseDir) ReleaseDir() {
}
......@@ -587,8 +587,7 @@ type PathFilesystem interface {
// Include this method in your implementation to inherit default nop
// implementations.
type DefaultRawFuseDir struct {}
type DefaultPathFilesystem struct {}
type DefaultRawFuseFile struct {}
type DefaultRawFuseDir struct{}
type DefaultPathFilesystem struct{}
type DefaultRawFuseFile struct{}
type DefaultRawFuseFileSystem struct{}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment