MCPcopy Create free account
hub / github.com/emwalker/digraph / view_stats

Function view_stats

backend/tests/git/repo.rs:142–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140
141 #[test]
142 fn view_stats() {
143 let f = Fixtures::copy("simple");
144 let stats = f.git.view_stats(RepoId::wiki()).unwrap();
145 assert_eq!(stats.topic_count, Some(9));
146 assert_eq!(stats.link_count, Some(4));
147 }
148
149 #[tokio::test]
150 async fn fetch_stats() {

Callers

nothing calls this directly

Calls 1

view_statsMethod · 0.45

Tested by

no test coverage detected