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

Method to_json

rust-core/src/codegraph/graph.rs:182–184  ·  view source on GitHub ↗

导出为JSON格式

(&self)

Source from the content-addressed store, hash-verified

180
181 /// 导出为JSON格式
182 pub fn to_json(&self) -> serde_json::Result<String> {
183 serde_json::to_string_pretty(self)
184 }
185
186 /// 获取统计信息
187 pub fn get_stats(&self) -> &CodeGraphStats {

Callers 2

save_stateMethod · 0.45
export_jsonMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected