2016-11-10 00:27:08 +01:00
|
|
|
package fusefrontend_reverse
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
|
|
|
|
"github.com/rfjakob/gocryptfs/internal/ctlsock"
|
|
|
|
)
|
|
|
|
|
2016-11-10 00:38:01 +01:00
|
|
|
var _ ctlsock.Interface = &ReverseFS{} // Verify that interface is implemented.
|
2016-11-10 00:27:08 +01:00
|
|
|
|
|
|
|
// EncryptPath implements ctlsock.Backend
|
2016-11-10 00:38:01 +01:00
|
|
|
func (rfs *ReverseFS) EncryptPath(plainPath string) (string, error) {
|
2016-11-10 00:27:08 +01:00
|
|
|
return "", errors.New("Not implemented")
|
|
|
|
}
|
|
|
|
|
|
|
|
// DecryptPath implements ctlsock.Backend
|
2016-11-10 00:38:01 +01:00
|
|
|
func (rfs *ReverseFS) DecryptPath(plainPath string) (string, error) {
|
2016-11-10 00:27:08 +01:00
|
|
|
return rfs.decryptPath(plainPath)
|
|
|
|
}
|