(path: &Path)
| 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, |