blob: 619d7475ae7183589b3dac6bb8e9fb93502ed624 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 | package fusefrontend
import (
	"errors"
	"github.com/rfjakob/gocryptfs/internal/ctlsock"
)
var _ ctlsock.Interface = &FS{} // Verify that interface is implemented.
// EncryptPath implements ctlsock.Backend
func (fs *FS) EncryptPath(plainPath string) (string, error) {
	return fs.encryptPath(plainPath)
}
// DecryptPath implements ctlsock.Backend
func (fs *FS) DecryptPath(cipherPath string) (string, error) {
	return "", errors.New("not implemented (yet?)")
}
 |