We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jakedismo/codegraph-rust'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
graph_updater.rs•536 B
use codegraph_core::{traits::GraphUpdater, Delta, Result};
use crossbeam_channel::Receiver;
pub struct GraphUpdaterImpl;
#[async_trait::async_trait]
impl GraphUpdater for GraphUpdaterImpl {
async fn update(&self, rx: Receiver<Delta>) -> Result<()> {
for delta in rx {
// In a real implementation, we would parse the delta and update the graph.
// For now, we'll just print the delta.
println!("Updating graph with delta for file: {}", delta.file_path);
}
Ok(())
}
}