MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / detect_language

Method detect_language

atomic-semantic/src/parsers/mod.rs:281–283  ·  view source on GitHub ↗

Detect the language for a file path.

(&self, path: &str)

Source from the content-addressed store, hash-verified

279
280 /// Detect the language for a file path.
281 pub fn detect_language(&self, path: &str) -> Option<Language> {
282 Language::detect(path)
283 }
284
285 /// Extract entities from a source file.
286 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected