MCPcopy Create free account
hub / github.com/AI45Lab/Code / ordered_artifacts

Method ordered_artifacts

core/src/tools/artifacts.rs:163–170  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

161 }
162
163 fn ordered_artifacts(&self) -> Vec<ToolArtifact> {
164 let state = self.inner.read().unwrap();
165 state
166 .insertion_order
167 .iter()
168 .filter_map(|uri| state.artifacts.get(uri).cloned())
169 .collect()
170 }
171}
172
173impl Default for ArtifactStore {

Callers 2

artifactsMethod · 0.80
save_to_dirMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected