mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 02:18:44 -07:00
Remove unused comparison functions.
This commit is contained in:
parent
74fd4a3722
commit
bcb5f6f472
@ -32,14 +32,6 @@ func (f FileInfo) Size() (bytes int64) {
|
||||
return
|
||||
}
|
||||
|
||||
func (a FileInfo) Equals(b FileInfo) bool {
|
||||
return a.Version == b.Version
|
||||
}
|
||||
|
||||
func (a FileInfo) NewerThan(b FileInfo) bool {
|
||||
return a.Version > b.Version
|
||||
}
|
||||
|
||||
type BlockInfo struct {
|
||||
Offset int64 // noencode (cache only)
|
||||
Size uint32
|
||||
|
Loading…
Reference in New Issue
Block a user