diff options
author | Jakob Unterwurzacher | 2020-07-05 20:22:24 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2020-07-05 20:22:24 +0200 |
commit | 40a31e0c325396d3c515032ad5f87299f297e204 (patch) | |
tree | dae582cf169a425fa9475979d621ac414d211f3a /internal/fusefrontend/file2_api_check.go | |
parent | 63f68a0fcd514b7cf96a485016c2db23c60c3405 (diff) |
v2api: list interfaces to be implemented
Diffstat (limited to 'internal/fusefrontend/file2_api_check.go')
-rw-r--r-- | internal/fusefrontend/file2_api_check.go | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/internal/fusefrontend/file2_api_check.go b/internal/fusefrontend/file2_api_check.go new file mode 100644 index 0000000..3f2c595 --- /dev/null +++ b/internal/fusefrontend/file2_api_check.go @@ -0,0 +1,23 @@ +package fusefrontend + +import ( + "github.com/hanwen/go-fuse/v2/fs" +) + +// Check that we have implemented the fs.File* interfaces +var _ = (fs.FileGetattrer)((*File2)(nil)) +var _ = (fs.FileSetattrer)((*File2)(nil)) + +/* TODO +var _ = (fs.FileHandle)((*File2)(nil)) +var _ = (fs.FileReleaser)((*File2)(nil)) +var _ = (fs.FileReader)((*File2)(nil)) +var _ = (fs.FileWriter)((*File2)(nil)) +var _ = (fs.FileGetlker)((*File2)(nil)) +var _ = (fs.FileSetlker)((*File2)(nil)) +var _ = (fs.FileSetlkwer)((*File2)(nil)) +var _ = (fs.FileLseeker)((*File2)(nil)) +var _ = (fs.FileFlusher)((*File2)(nil)) +var _ = (fs.FileFsyncer)((*File2)(nil)) +var _ = (fs.FileAllocater)((*File2)(nil)) +*/ |