libgocryptfs/internal/fusefrontend_reverse/node_api_check.go

41 lines
1.1 KiB
Go
Raw Normal View History

2020-08-08 18:45:47 +02:00
package fusefrontend_reverse
import (
"github.com/hanwen/go-fuse/v2/fs"
)
// Check that we have implemented the fs.Node* interfaces
var _ = (fs.NodeGetattrer)((*Node)(nil))
var _ = (fs.NodeLookuper)((*Node)(nil))
var _ = (fs.NodeReaddirer)((*Node)(nil))
var _ = (fs.NodeReadlinker)((*Node)(nil))
var _ = (fs.NodeOpener)((*Node)(nil))
2020-08-16 19:41:00 +02:00
var _ = (fs.NodeStatfser)((*Node)(nil))
2020-08-09 22:11:46 +02:00
/*
TODO but low prio. reverse mode in gocryptfs v1 did not have xattr support
either.
2020-08-08 18:45:47 +02:00
var _ = (fs.NodeGetxattrer)((*Node)(nil))
var _ = (fs.NodeListxattrer)((*Node)(nil))
*/
/* Not needed
var _ = (fs.NodeOpendirer)((*Node)(nil))
*/
/* Will not implement these - reverse mode is read-only!
2020-08-09 22:11:46 +02:00
var _ = (fs.NodeMknoder)((*Node)(nil))
2020-08-08 18:45:47 +02:00
var _ = (fs.NodeCreater)((*Node)(nil))
var _ = (fs.NodeMkdirer)((*Node)(nil))
var _ = (fs.NodeRmdirer)((*Node)(nil))
var _ = (fs.NodeUnlinker)((*Node)(nil))
var _ = (fs.NodeSetattrer)((*Node)(nil))
var _ = (fs.NodeLinker)((*Node)(nil))
var _ = (fs.NodeSymlinker)((*Node)(nil))
var _ = (fs.NodeRenamer)((*Node)(nil))
var _ = (fs.NodeSetxattrer)((*Node)(nil))
var _ = (fs.NodeRemovexattrer)((*Node)(nil))
var _ = (fs.NodeCopyFileRanger)((*Node)(nil))
*/