This commit is contained in:
@@ -45,6 +45,7 @@ type FileIntf interface {
|
||||
MustRescan() bool
|
||||
IsDirectory() bool
|
||||
IsSymlink() bool
|
||||
ShouldConflict() bool
|
||||
HasPermissionBits() bool
|
||||
SequenceNo() int64
|
||||
BlockSize() int
|
||||
|
||||
@@ -69,6 +69,10 @@ func (f FileInfoTruncated) IsSymlink() bool {
|
||||
}
|
||||
}
|
||||
|
||||
func (f FileInfoTruncated) ShouldConflict() bool {
|
||||
return f.LocalFlags&protocol.LocalConflictFlags != 0
|
||||
}
|
||||
|
||||
func (f FileInfoTruncated) HasPermissionBits() bool {
|
||||
return !f.NoPermissions
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user