mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-08 22:31:04 +00: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