mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
Add bit 17, No Permission Bits
This commit is contained in:
parent
04130fcb15
commit
7bc36cbbd1
@ -404,6 +404,11 @@ The Flags field is made up of the following single bit flags:
|
||||
synchronization. A peer MAY set this bit to indicate that it can
|
||||
temporarily not serve data for the file.
|
||||
|
||||
- Bit 17 ("P") is set when there is no permission information for the
|
||||
file. This is the case when it originates on a non-permission-
|
||||
supporting file system. Changes to only permission bits should be
|
||||
disregarded on files with this bit set.
|
||||
|
||||
- Bit 0 through 17 are reserved for future use and SHALL be set to
|
||||
zero.
|
||||
|
||||
|
@ -28,6 +28,7 @@ const (
|
||||
FlagDeleted uint32 = 1 << 12
|
||||
FlagInvalid = 1 << 13
|
||||
FlagDirectory = 1 << 14
|
||||
FlagNoPermBits = 1 << 15
|
||||
)
|
||||
|
||||
const (
|
||||
|
Loading…
Reference in New Issue
Block a user