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

Function detect

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

fileExistsMethod · 0.80

Tested by

no test coverage detected