1
0
mirror of https://github.com/rclone/rclone.git synced 2025-01-13 20:38:12 +02:00

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:
Stephen Harris 2017-04-10 12:52:31 -04:00 committed by Nick Craig-Wood
parent b86bbcd67e
commit 82b8d68ffb

View File

@ -140,7 +140,7 @@ func (f *Fs) Features() *fs.Features {
// String returns a description of the FS
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