MCPcopy
hub / github.com/rclone/rclone / BitsChoices

Interface BitsChoices

fs/bits.go:45–48  ·  view source on GitHub ↗

BitsChoices returns the valid choices for this type. It must work on the zero value. Note that when using this in an Option the ExampleBitsChoices will be filled in automatically.

Source from the content-addressed store, hash-verified

43// Note that when using this in an Option the ExampleBitsChoices will be
44// filled in automatically.
45type BitsChoices interface {
46 // Choices returns the valid choices for each bit of this type
47 Choices() []BitsChoicesInfo
48}
49
50// String turns a Bits into a string
51func (b Bits[C]) String() string {

Callers 1

ChoicesMethod · 0.65

Implementers 15

sdkLogModeChoicesbackend/s3/s3.go
rwChoicesbackend/onedrive/metadata.go
timeTypeChoicesbackend/local/local.go
rwChoicesbackend/drive/drive.go
transformChoiceslib/transform/options.go
cmapChoiceslib/transform/cmap.go
cacheModeChoicesvfs/vfscommon/cachemode.go
handleCacheChoicescmd/serve/nfs/nfs.go
preferChoicescmd/bisync/resolve.go
conflictLoserChoicescmd/bisync/resolve.go
terminalColorModeChoicesfs/terminalcolormode.go
cutoffModeChoicesfs/cutoffmode.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…