MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / should_cascade

Method should_cascade

graphlite/src/cache/invalidation.rs:334–340  ·  view source on GitHub ↗
(&self, _event: &InvalidationEvent)

Source from the content-addressed store, hash-verified

332 }
333
334 fn should_cascade(&self, _event: &InvalidationEvent) -> bool {
335 match &self.strategy {
336 InvalidationStrategy::DependencyBased { transitive, .. } => *transitive,
337 InvalidationStrategy::TagBased { .. } => true,
338 _ => false,
339 }
340 }
341
342 fn cascade_invalidation(&self, initial_entries: &HashSet<String>) -> HashSet<String> {
343 let mut cascaded = HashSet::new();

Callers 1

handle_eventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected