Add IndexTemporary and RequestTemporary flags

This commit is contained in:
Audrius Butkevicius 2015-02-13 23:27:01 +00:00
parent 1d76efcbcd
commit aa9eda1979

View File

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