summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-09-05 20:30:20 +0200
committerJakob Unterwurzacher2015-09-05 20:30:20 +0200
commit11fb037e7e7d84405b3bed9de2aa500e49d9502d (patch)
treef94eea4b2cccc1620b51f163837d26082e6cae58 /frontend
parent7e564f928fef80b0485210603a8aa58b14ca5109 (diff)
Cleanup and rename files
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"