aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend_reverse
diff options
context:
space:
mode:
authorJakob Unterwurzacher2020-08-16 13:52:27 +0200
committerJakob Unterwurzacher2020-08-16 13:52:27 +0200
commit6f3cca2cdd0265fec4613023c58dfe3378b91b71 (patch)
tree7dd3d459826e473c6487c75617f68f76721ad2a0 /internal/fusefrontend_reverse
parentee5ab1cc29c6f5ff6061a88b742d5ff88de40802 (diff)
v2api: clean up api TODOs
Diffstat (limited to 'internal/fusefrontend_reverse')
-rw-r--r--internal/fusefrontend_reverse/file_api_check.go15
-rw-r--r--internal/fusefrontend_reverse/node_api_check.go2
2 files changed, 11 insertions, 6 deletions
diff --git a/internal/fusefrontend_reverse/file_api_check.go b/internal/fusefrontend_reverse/file_api_check.go
index 6dd1771..201f1ea 100644
--- a/internal/fusefrontend_reverse/file_api_check.go
+++ b/internal/fusefrontend_reverse/file_api_check.go
@@ -9,15 +9,20 @@ 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))
-var _ = (fs.FileLseeker)((*File2)(nil))
-var _ = (fs.FileHandle)((*File2)(nil))
-var _ = (fs.FileGetlker)((*File2)(nil))
-var _ = (fs.FileSetlker)((*File2)(nil))
-var _ = (fs.FileSetlkwer)((*File2)(nil))
*/
diff --git a/internal/fusefrontend_reverse/node_api_check.go b/internal/fusefrontend_reverse/node_api_check.go
index 875c9b9..c7cb6aa 100644
--- a/internal/fusefrontend_reverse/node_api_check.go
+++ b/internal/fusefrontend_reverse/node_api_check.go
@@ -11,7 +11,7 @@ var _ = (fs.NodeReaddirer)((*Node)(nil))
var _ = (fs.NodeReadlinker)((*Node)(nil))
var _ = (fs.NodeOpener)((*Node)(nil))
-/*
+/* TODO
var _ = (fs.NodeStatfser)((*Node)(nil))
var _ = (fs.NodeGetxattrer)((*Node)(nil))
var _ = (fs.NodeListxattrer)((*Node)(nil))