MCPcopy Create free account
hub / github.com/ElementsProject/lightning / filters

Method filters

plugins/src/lib.rs:599–607  ·  view source on GitHub ↗
(mut self, filters: Vec<HookFilter>)

Source from the content-addressed store, hash-verified

597 }
598
599 pub fn filters(mut self, filters: Vec<HookFilter>) -> Self {
600 // Empty Vec would filter everything, must be None instead to not get serialized
601 if filters.is_empty() {
602 self.filters = None;
603 } else {
604 self.filters = Some(filters);
605 }
606 self
607 }
608
609 fn build(self) -> Hook<S> {
610 Hook {

Callers 3

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected