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

Function callable

atomic-repository/src/repository/syntax_index.rs:29–31  ·  view source on GitHub ↗
(entity: &Entity)

Source from the content-addressed store, hash-verified

27 format!("{}#{}", entity.file, entity.name)
28}
29fn callable(entity: &Entity) -> bool {
30 matches!(entity.kind, EntityKind::Function | EntityKind::Method)
31}
32
33impl SyntaxIndex {
34 pub fn from_sources(sources: &[(String, String)]) -> Self {

Callers 1

from_sourcesMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected