MCPcopy Create free account
hub / github.com/emwalker/digraph / empty

Method empty

backend/src/git/search.rs:87–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85
86impl Search {
87 pub fn empty() -> Self {
88 Self {
89 normalized: Phrase::parse(""),
90 urls: BTreeSet::new(),
91 tokens: BTreeSet::new(),
92 topic_specs: BTreeSet::new(),
93 }
94 }
95
96 pub fn parse(input: &str) -> Result<Self> {
97 let mut tokens = BTreeSet::new();

Callers

nothing calls this directly

Calls 1

parseFunction · 0.85

Tested by

no test coverage detected