mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
lib/protocol: Comment the bit numbers for flags in IndexMessage
This commit is contained in:
parent
7533a61203
commit
f3ac421266
@ -40,12 +40,12 @@ const (
|
|||||||
|
|
||||||
// FileInfo flags
|
// FileInfo flags
|
||||||
const (
|
const (
|
||||||
FlagDeleted uint32 = 1 << 12
|
FlagDeleted uint32 = 1 << 12 // bit 19 in MSB order with the first bit being #0
|
||||||
FlagInvalid = 1 << 13
|
FlagInvalid = 1 << 13 // bit 18
|
||||||
FlagDirectory = 1 << 14
|
FlagDirectory = 1 << 14 // bit 17
|
||||||
FlagNoPermBits = 1 << 15
|
FlagNoPermBits = 1 << 15 // bit 16
|
||||||
FlagSymlink = 1 << 16
|
FlagSymlink = 1 << 16 // bit 15
|
||||||
FlagSymlinkMissingTarget = 1 << 17
|
FlagSymlinkMissingTarget = 1 << 17 // bit 14
|
||||||
|
|
||||||
FlagsAll = (1 << 18) - 1
|
FlagsAll = (1 << 18) - 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user