lib/protocol: Comment the bit numbers for flags in IndexMessage

This commit is contained in:
Jakob Borg 2016-04-10 10:47:30 +00:00 committed by Audrius Butkevicius
parent 7533a61203
commit f3ac421266

View File

@ -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