aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend/node_xattr_freebsd.go
blob: 9698283a9fdba81214218ccf053a97ce47055e67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package fusefrontend

import (
	"golang.org/x/sys/unix"

	"github.com/hanwen/go-fuse/v2/fuse"
)

const noSuchAttributeError = unix.ENOATTR

func filterXattrSetFlags(flags int) int {
	return flags
}

func (n *Node) getXAttr(cAttr string) (out []byte, errno unix.Errno) {
	// TODO
	return nil, unix.EOPNOTSUPP
}

func (n *Node) setXAttr(context *fuse.Context, cAttr string, cData []byte, flags uint32) (errno unix.Errno) {
	// TODO
	return unix.EOPNOTSUPP
}

func (n *Node) removeXAttr(cAttr string) (errno unix.Errno) {
	// TODO
	return unix.EOPNOTSUPP
}

func (n *Node) listXAttr() (out []string, errno unix.Errno) {
	// TODO
	return nil, unix.EOPNOTSUPP
}