aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/wfs.go
blob: f0716b6504c7acaa13d9eccb5bc2c749c4788027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package filesys

import "bazil.org/fuse/fs"

type WFS struct {
	filer string
}

func NewSeaweedFileSystem(filer string) *WFS {
	return &WFS{
		filer: filer,
	}
}

func (wfs *WFS) Root() (fs.Node, error) {
	return &Dir{Path: "/", wfs: wfs}, nil
}