1
1
mirror of https://github.com/github/semantic.git synced 2024-11-25 11:04:00 +03:00

Remove Patch hashing.

This commit is contained in:
Rob Rix 2015-10-15 09:44:36 -04:00
parent f30d2d609a
commit 77a32f9e8d

View File

@ -53,18 +53,6 @@ extension Patch {
}
// MARK: - Hashing
extension Patch {
public func hash(param: A -> Hash) -> Hash {
return Hash.Ordered([
state.before.map(param) ?? Hash.Empty,
state.after.map(param) ?? Hash.Empty
])
}
}
// MARK: - JSON
extension Patch {