aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend_reverse/ctlsock_interface.go
blob: 448663f7ba39512f4567a4f126616c3bf3638d41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package fusefrontend_reverse

import (
	"errors"

	"github.com/rfjakob/gocryptfs/internal/ctlsock"
)

var _ ctlsock.Interface = &reverseFS{} // Verify that interface is implemented.

// EncryptPath implements ctlsock.Backend
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) {
	return rfs.decryptPath(plainPath)
}