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:
parent
f30d2d609a
commit
77a32f9e8d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user