summaryrefslogtreecommitdiff
path: root/frontend/checks.go
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/checks.go')
-rw-r--r--frontend/checks.go31
1 files changed, 0 insertions, 31 deletions
diff --git a/frontend/checks.go b/frontend/checks.go
deleted file mode 100644
index 30720f6..0000000
--- a/frontend/checks.go
+++ /dev/null
@@ -1,31 +0,0 @@
-package frontend
-
-import (
- "bazil.org/fuse/fs"
-)
-
-// Compile-time interface checks.
-var _ fs.FS = (*FS)(nil)
-var _ fs.FSStatfser = (*FS)(nil)
-
-var _ fs.Node = (*Dir)(nil)
-var _ fs.NodeCreater = (*Dir)(nil)
-var _ fs.NodeMkdirer = (*Dir)(nil)
-var _ fs.NodeRemover = (*Dir)(nil)
-var _ fs.NodeRenamer = (*Dir)(nil)
-var _ fs.HandleReadDirAller = (*Dir)(nil)
-
-var _ fs.HandleReader = (*File)(nil)
-var _ fs.HandleWriter = (*File)(nil)
-var _ fs.Node = (*File)(nil)
-var _ fs.NodeOpener = (*File)(nil)
-var _ fs.NodeSetattrer = (*File)(nil)
-
-func foo(h fs.HandleReadDirAller) {
-
-}
-
-func init() {
- var d Dir
- foo(&d)
-}