Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
feat! remove BrokerEvent::is_allowed from its public API
Lars Wirzenius committed 1 year ago
commit 0266df7e21aaad5aaf527a86be963f8c509940ad
parent 1010100c290ee8bbb9b292a2a2036825f0e4fc8b
1 file changed +1 -1
modified src/event.rs
@@ -364,7 +364,7 @@ impl BrokerEvent {
    }

    /// Is this broker event allowed by a filter?
-
    pub fn is_allowed(&self, filter: &EventFilter) -> bool {
+
    fn is_allowed(&self, filter: &EventFilter) -> bool {
        debug!("is_allowed called: filter={filter:?}");
        let res = self.is_allowed_helper(filter, 0);
        debug!("is_allowed: res={res}");