aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend_reverse/rpath.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-11-10 00:38:01 +0100
committerJakob Unterwurzacher2016-11-10 00:38:01 +0100
commite7f57695a6c7b3ed545793347506907c7aec3ecc (patch)
tree3ff3c6c29a064e24a8387a8cdbf31944014926f6 /internal/fusefrontend_reverse/rpath.go
parent75ebb28a625bc16d145f5acd9e0cc1d305716afe (diff)
Fix golint warnings
$ golint ./... | grep -v underscore | grep -v ALL_CAPS internal/fusefrontend_reverse/rfs.go:52:36: exported func NewFS returns unexported type *fusefrontend_reverse.reverseFS, which can be annoying to use internal/nametransform/raw64_go1.5.go:10:2: exported const HaveRaw64 should have comment (or a comment on this block) or be unexported
Diffstat (limited to 'internal/fusefrontend_reverse/rpath.go')
-rw-r--r--internal/fusefrontend_reverse/rpath.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/fusefrontend_reverse/rpath.go b/internal/fusefrontend_reverse/rpath.go
index c8df8fe..2740104 100644
--- a/internal/fusefrontend_reverse/rpath.go
+++ b/internal/fusefrontend_reverse/rpath.go
@@ -36,14 +36,14 @@ func derivePathIV(path string, purpose ivPurposeType) []byte {
return hash[:nametransform.DirIVLen]
}
-func (rfs *reverseFS) abs(relPath string, err error) (string, error) {
+func (rfs *ReverseFS) abs(relPath string, err error) (string, error) {
if err != nil {
return "", err
}
return filepath.Join(rfs.args.Cipherdir, relPath), nil
}
-func (rfs *reverseFS) decryptPath(relPath string) (string, error) {
+func (rfs *ReverseFS) decryptPath(relPath string) (string, error) {
if rfs.args.PlaintextNames || relPath == "" {
return relPath, nil
}