MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / detect

Function detect

src/resolution/frameworks/rust.ts:28–31  ·  view source on GitHub ↗
(context: ResolutionContext)

Source from the content-addressed store, hash-verified

26 languages: ['rust'],
27
28 detect(context: ResolutionContext): boolean {
29 // Check for Cargo.toml (Rust project signature)
30 return context.fileExists('Cargo.toml');
31 },
32
33 resolve(ref: UnresolvedRef, context: ResolutionContext): ResolvedRef | null {
34 // Pattern 1: Handler references

Callers

nothing calls this directly

Calls 1

fileExistsMethod · 0.80

Tested by

no test coverage detected