mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 19:39:05 +00:00
Add IndexTemporary and RequestTemporary flags
This commit is contained in:
parent
1d76efcbcd
commit
aa9eda1979
12
protocol.go
12
protocol.go
@ -35,6 +35,7 @@ const (
|
|||||||
stateIdxRcvd
|
stateIdxRcvd
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// FileInfo flags
|
||||||
const (
|
const (
|
||||||
FlagDeleted uint32 = 1 << 12
|
FlagDeleted uint32 = 1 << 12
|
||||||
FlagInvalid = 1 << 13
|
FlagInvalid = 1 << 13
|
||||||
@ -48,6 +49,17 @@ const (
|
|||||||
SymlinkTypeMask = FlagDirectory | FlagSymlinkMissingTarget
|
SymlinkTypeMask = FlagDirectory | FlagSymlinkMissingTarget
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// IndexMessage message flags (for IndexUpdate)
|
||||||
|
const (
|
||||||
|
FlagIndexTemporary uint32 = 1 << iota
|
||||||
|
)
|
||||||
|
|
||||||
|
// Request message flags
|
||||||
|
const (
|
||||||
|
FlagRequestTemporary uint32 = 1 << iota
|
||||||
|
)
|
||||||
|
|
||||||
|
// ClusterConfigMessage.Folders.Devices flags
|
||||||
const (
|
const (
|
||||||
FlagShareTrusted uint32 = 1 << 0
|
FlagShareTrusted uint32 = 1 << 0
|
||||||
FlagShareReadOnly = 1 << 1
|
FlagShareReadOnly = 1 << 1
|
||||||
|
Loading…
Reference in New Issue
Block a user