MCPcopy Create free account
hub / github.com/bwt-dev/bwt / matches

Method matches

src/http.rs:652–656  ·  view source on GitHub ↗
(&self, change: &IndexChange)

Source from the content-addressed store, hash-verified

650
651impl ChangelogFilter {
652 fn matches(&self, change: &IndexChange) -> bool {
653 self.scripthash_matches(change)
654 && self.category_matches(change)
655 && self.outpoint_matches(change)
656 }
657 fn scripthash_matches(&self, change: &IndexChange) -> bool {
658 self.scripthash.as_ref().map_or(true, |filter_sh| {
659 change

Callers 2

send_updatesMethod · 0.80
make_sse_streamFunction · 0.80

Calls 3

scripthash_matchesMethod · 0.80
category_matchesMethod · 0.80
outpoint_matchesMethod · 0.80

Tested by

no test coverage detected