MCPcopy Create free account
hub / github.com/CodeBendKit/codeseek / warm_snippet_cache

Method warm_snippet_cache

rust-core/src/codegraph/repository.rs:209–215  ·  view source on GitHub ↗

预热代码片段缓存

(&self)

Source from the content-addressed store, hash-verified

207
208 /// 预热代码片段缓存
209 pub fn warm_snippet_cache(&self) -> Result<(), String> {
210 let mut snippet_service = self.snippet_service.write();
211 let entity_graph = self.entity_graph.read();
212 let call_graph = self.call_graph.read();
213
214 snippet_service.warm_cache(&call_graph, &entity_graph)
215 }
216
217 /// 清理代码片段缓存
218 pub fn clear_snippet_cache(&mut self) {

Callers 1

initializeMethod · 0.80

Calls 1

warm_cacheMethod · 0.80

Tested by

no test coverage detected