MCPcopy Create free account
hub / github.com/Pometry/Raphtory / create_graph_folder

Function create_graph_folder

raphtory-graphql/src/data.rs:881–886  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

879 use tokio::time::sleep;
880
881 fn create_graph_folder(path: &Path) {
882 // Use empty graph to create folder structure
883 fs::create_dir_all(path).unwrap();
884 let graph = Graph::new();
885 graph.encode(path).unwrap();
886 }
887
888 pub(crate) async fn save_graphs_to_work_dir(
889 data: &Data,

Callers 1

test_get_graph_pathsFunction · 0.85

Calls 2

unwrapMethod · 0.80
encodeMethod · 0.80

Tested by 1

test_get_graph_pathsFunction · 0.68