MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / matches_pattern_pub

Function matches_pattern_pub

nodedb/src/engine/kv/scan.rs:99–101  ·  view source on GitHub ↗

Public entry point for pattern matching (used by engine.rs index scan path).

(key: &[u8], pattern: Option<&str>)

Source from the content-addressed store, hash-verified

97
98/// Public entry point for pattern matching (used by engine.rs index scan path).
99pub fn matches_pattern_pub(key: &[u8], pattern: Option<&str>) -> bool {
100 matches_pattern(key, pattern)
101}
102
103/// Simple glob-style pattern matching for SCAN MATCH.
104///

Callers 1

scanMethod · 0.85

Calls 1

matches_patternFunction · 0.85

Tested by

no test coverage detected