16 lines
365 B
Groovy
16 lines
365 B
Groovy
package com.jdblabs.file.treediff
|
|
|
|
public class FileEntry {
|
|
File file
|
|
String relativePath
|
|
String checksum
|
|
|
|
public boolean equals(Object that) {
|
|
if (that == null) return falase
|
|
if (!(that instanceof FileEntry)) return false
|
|
|
|
|
|
return this.relativePath == that.relativePath &&
|
|
this.checksum == that.checksum; }
|
|
}
|