package torrentfs
import (
- "bazil.org/fuse"
- fusefs "bazil.org/fuse/fs"
- "golang.org/x/net/context"
+ "context"
+
+ "github.com/anacrolix/fuse"
+ fusefs "github.com/anacrolix/fuse/fs"
"github.com/anacrolix/torrent"
)
f *torrent.File
}
-var (
- _ fusefs.NodeOpener = fileNode{}
-)
+var _ fusefs.NodeOpener = fileNode{}
func (fn fileNode) Attr(ctx context.Context, attr *fuse.Attr) error {
attr.Size = uint64(fn.f.Length())