MCPcopy
hub / github.com/rclone/rclone / String

Method String

backend/b2/b2.go:380–388  ·  view source on GitHub ↗

String converts this Fs to a string

()

Source from the content-addressed store, hash-verified

378
379// String converts this Fs to a string
380func (f *Fs) String() string {
381 if f.rootBucket == "" {
382 return "B2 root"
383 }
384 if f.rootDirectory == "" {
385 return fmt.Sprintf("B2 bucket %s", f.rootBucket)
386 }
387 return fmt.Sprintf("B2 bucket %s path %s", f.rootBucket, f.rootDirectory)
388}
389
390// Features returns the optional features of this Fs
391func (f *Fs) Features() *fs.Features {

Callers 1

copyFileMethod · 0.95

Calls

no outgoing calls

Tested by 1

copyFileMethod · 0.76