diff options
author | Jakob Unterwurzacher | 2016-11-10 00:38:01 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-11-10 00:38:01 +0100 |
commit | e7f57695a6c7b3ed545793347506907c7aec3ecc (patch) | |
tree | 3ff3c6c29a064e24a8387a8cdbf31944014926f6 /internal/fusefrontend_reverse/ctlsock_interface.go | |
parent | 75ebb28a625bc16d145f5acd9e0cc1d305716afe (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/ctlsock_interface.go')
-rw-r--r-- | internal/fusefrontend_reverse/ctlsock_interface.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/fusefrontend_reverse/ctlsock_interface.go b/internal/fusefrontend_reverse/ctlsock_interface.go index 448663f..376814d 100644 --- a/internal/fusefrontend_reverse/ctlsock_interface.go +++ b/internal/fusefrontend_reverse/ctlsock_interface.go @@ -6,14 +6,14 @@ import ( "github.com/rfjakob/gocryptfs/internal/ctlsock" ) -var _ ctlsock.Interface = &reverseFS{} // Verify that interface is implemented. +var _ ctlsock.Interface = &ReverseFS{} // Verify that interface is implemented. // EncryptPath implements ctlsock.Backend -func (rfs *reverseFS) EncryptPath(plainPath string) (string, error) { +func (rfs *ReverseFS) EncryptPath(plainPath string) (string, error) { return "", errors.New("Not implemented") } // DecryptPath implements ctlsock.Backend -func (rfs *reverseFS) DecryptPath(plainPath string) (string, error) { +func (rfs *ReverseFS) DecryptPath(plainPath string) (string, error) { return rfs.decryptPath(plainPath) } |