aboutsummaryrefslogtreecommitdiff
path: root/cryptfs/cryptfs.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-09-05 19:07:20 +0200
committerJakob Unterwurzacher2015-09-05 19:07:20 +0200
commit199d3fd79ff03222cf7498418b40e1263f8aa104 (patch)
treee20363482b6332969687302b8e0fa668160b38d0 /cryptfs/cryptfs.go
parent4ab9862ccb5911836acda9834b0b25f892229533 (diff)
Fix write path
Diffstat (limited to 'cryptfs/cryptfs.go')
-rw-r--r--cryptfs/cryptfs.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cryptfs/cryptfs.go b/cryptfs/cryptfs.go
index f5781e2..72eea61 100644
--- a/cryptfs/cryptfs.go
+++ b/cryptfs/cryptfs.go
@@ -55,6 +55,10 @@ func (fs *CryptFS) NewFile(f *os.File) *CryptFile {
}
}
+func (be *CryptFS) PlainBS() int64 {
+ return be.plainBS
+}
+
// DecryptName - decrypt filename
func (be *CryptFS) decryptName(cipherName string) (string, error) {