Remove unused comparison functions.
This commit is contained in:
parent
74fd4a3722
commit
bcb5f6f472
|
@ -32,14 +32,6 @@ func (f FileInfo) Size() (bytes int64) {
|
||||||
return
|
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 {
|
type BlockInfo struct {
|
||||||
Offset int64 // noencode (cache only)
|
Offset int64 // noencode (cache only)
|
||||||
Size uint32
|
Size uint32
|
||||||
|
|
Loading…
Reference in New Issue