func (Root) Attr(ctx context.Context, a *fuse.Attr) error {
	logrus.Debug("handling Root.Attr call")
	a.Inode = 1
	a.Mode = os.ModeDir
	return nil
}
Attr sets attrs on the given fuse.Attr
package fs
import (
	"os"
	"hash/crc64"
	"path"
	"bazil.org/fuse"
	"bazil.org/fuse/fs"
	"github.com/Sirupsen/logrus"
	"github.com/hashicorp/vault/api"
	"golang.org/x/net/context"
)
var table = crc64.MakeTable(crc64.ISO)
type Root struct {
	root  string
	logic *api.Logical
}
func NewRoot(root string, logic *api.Logical) *Root {
	return &Root{
		root:  root,
		logic: logic,
	}
}