Archived
1 parent
1b59960ff9
commit
a09079ed25
9 files changed
+144
-36
No files matched your search
@@ -45,6 +45,7 @@ type FileIntf interface {
|
||||
IsIgnored() bool
|
||||
IsUnsupported() bool
|
||||
MustRescan() bool
|
||||
IsReceiveOnlyChanged() bool
|
||||
IsDirectory() bool
|
||||
IsSymlink() bool
|
||||
ShouldConflict() bool
|
||||
|
||||
@@ -142,6 +142,10 @@ func (c Counts) Add(other Counts) Counts {
|
||||
}
|
||||
}
|
||||
|
||||
func (c Counts) TotalItems() int32 {
|
||||
return c.Files + c.Directories + c.Symlinks + c.Deleted
|
||||
}
|
||||
|
||||
func (vl VersionList) String() string {
|
||||
var b bytes.Buffer
|
||||
var id protocol.DeviceID
|
||||
|
||||
Reference in new issue
Block a user