Replace the dnf-json `Hash()` function in favour of a hash calculated using the `rpmmd.RepConfig.Hash()` function. The `repoHash` field is populated when converting a `rpmmd.RepoConfig` to `dnfjson.repoConfig` object. The `dnfson.repoConfig.Hash()` function then returns the `repoHash` field instead of re-calculating the hash. |
||
|---|---|---|
| .. | ||
| cache.go | ||
| cache_test.go | ||
| dnfjson.go | ||
| dnfjson_test.go | ||