aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/fe_checks.go (renamed from frontend/checks.go)0
-rw-r--r--frontend/fe_dir.go (renamed from frontend/dir.go)11
-rw-r--r--frontend/fe_file.go (renamed from frontend/file.go)11
-rw-r--r--frontend/fe_fs.go (renamed from frontend/fs.go)11
4 files changed, 33 insertions, 0 deletions
diff --git a/frontend/checks.go b/frontend/fe_checks.go
index 30720f6..30720f6 100644
--- a/frontend/checks.go
+++ b/frontend/fe_checks.go
diff --git a/frontend/dir.go b/frontend/fe_dir.go
index ee5c474..75b665b 100644
--- a/frontend/dir.go
+++ b/frontend/fe_dir.go
@@ -1,5 +1,16 @@
package frontend
+// frontend sits between FUSE and ClueFS
+// and uses cryptfs for all crypto operations
+//
+// cryptfs
+// ^
+// |
+// v
+// FUSE <-> frontend <-> ClueFS
+//
+// This file handles directories
+
import (
"fmt"
"github.com/rfjakob/gocryptfs/cryptfs"
diff --git a/frontend/file.go b/frontend/fe_file.go
index ef74491..4bd623f 100644
--- a/frontend/file.go
+++ b/frontend/fe_file.go
@@ -1,5 +1,16 @@
package frontend
+// frontend sits between FUSE and ClueFS
+// and uses cryptfs for all crypto operations
+//
+// cryptfs
+// ^
+// |
+// v
+// FUSE <-> frontend <-> ClueFS
+//
+// This file handles files access
+
import (
"fmt"
"github.com/rfjakob/gocryptfs/cryptfs"
diff --git a/frontend/fs.go b/frontend/fe_fs.go
index 83d1953..470095f 100644
--- a/frontend/fs.go
+++ b/frontend/fe_fs.go
@@ -1,5 +1,16 @@
package frontend
+// frontend sits between FUSE and ClueFS
+// and uses cryptfs for all crypto operations
+//
+// cryptfs
+// ^
+// |
+// v
+// FUSE <-> frontend <-> ClueFS
+//
+// This file handles just the root directory
+
import (
"fmt"
"github.com/rfjakob/gocryptfs/cryptfs"