MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / as_str

Method as_str

src/context/read_modes.rs:32–39  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30
31impl ReadMode {
32 pub fn as_str(self) -> &'static str {
33 match self {
34 Self::Full => "full",
35 Self::Lines => "lines",
36 Self::Map => "map",
37 Self::Signatures => "signatures",
38 }
39 }
40
41 pub fn parse(s: &str) -> Option<Self> {
42 match s {

Callers 5

kind_matches_filterFunction · 0.45
canonicalizeFunction · 0.45
expand_subgraphMethod · 0.45
classify_tokenFunction · 0.45
apply_cooccurrence_boostFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected