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

Method starts_with

backend/src/git/index.rs:45–47  ·  view source on GitHub ↗
(&self, pat: &str)

Source from the content-addressed store, hash-verified

43 }
44
45 pub fn starts_with(&self, pat: &str) -> bool {
46 self.0.starts_with(pat)
47 }
48
49 pub fn tokens(&self) -> Vec<Self> {
50 let mut tokens = vec![];

Callers 2

callMethod · 0.80
prefix_matchesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected