summaryrefslogtreecommitdiff
path: root/internal/fusefrontend_reverse/ctlsock_interface.go
blob: 376814d38fa00d365aa9070c0dfecfd1c22aa250 (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)
}