Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

fs: fix docs for Bits

Nick Craig-Woode1ad46700936
diff --git a/fs/bits.go b/fs/bits.go
index 5c271e8c3..79c1b2887 100644
--- a/fs/bits.go
+++ b/fs/bits.go
@@ -22,10 +22,10 @@ import (
//
// func (bitsChoices) Choices() []BitsChoicesInfo {
// return []BitsChoicesInfo{
-// {uint64(0), "OFF"}, // Optional Off value - "" if not defined
-// {uint64(bitA), "A"},
-// {uint64(bitB), "B"},
-// {uint64(bitC), "C"},
+// {Bit: uint64(0), Name: "OFF"}, // Optional Off value - "" if not defined
+// {Bit: uint64(bitA), Name: "A"},
+// {Bit: uint64(bitB), Name: "B"},
+// {Bit: uint64(bitC), Name: "C"},
// }
// }
type Bits[C BitsChoices] uint64