crypt: report the name:root as specified by the user
Rather then the underlying Fs root (which may be encrypted when filename_encryption is set). Fixes #1305
This commit is contained in:
parent
b86bbcd67e
commit
82b8d68ffb
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ func (f *Fs) Features() *fs.Features {
|
||||||
|
|
||||||
// String returns a description of the FS
|
// String returns a description of the FS
|
||||||
func (f *Fs) String() string {
|
func (f *Fs) String() string {
|
||||||
return fmt.Sprintf("Encrypted %s", f.Fs.String())
|
return fmt.Sprintf("Encrypted drive '%s:%s'", f.name, f.root)
|
||||||
}
|
}
|
||||||
|
|
||||||
// List the Fs into a channel
|
// List the Fs into a channel
|
||||||
|
|
Loading…
Add table
Reference in a new issue