summaryrefslogtreecommitdiff
path: root/internal/fusefrontend_reverse/file_api_check.go
blob: 201f1ea5cca211014d032e73c5bd06f65e985c1d (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
package fusefrontend_reverse

import (
	"github.com/hanwen/go-fuse/v2/fs"
)

// Check that we have implemented the fs.File* interfaces
var _ = (fs.FileReader)((*File)(nil))
var _ = (fs.FileReleaser)((*File)(nil))

/* TODO
var _ = (fs.FileLseeker)((*File2)(nil))
*/

/* Not needed
var _ = (fs.FileGetattrer)((*File2)(nil))
var _ = (fs.FileGetlker)((*File2)(nil))
var _ = (fs.FileSetlker)((*File2)(nil))
var _ = (fs.FileSetlkwer)((*File2)(nil))
*/

/* Will not implement these - reverse mode is read-only!
var _ = (fs.FileSetattrer)((*File2)(nil))
var _ = (fs.FileWriter)((*File2)(nil))
var _ = (fs.FileFsyncer)((*File2)(nil))
var _ = (fs.FileFlusher)((*File2)(nil))
var _ = (fs.FileAllocater)((*File2)(nil))
*/