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

Method save

backend/src/redis/mod.rs:14–21  ·  view source on GitHub ↗
(
        &self,
        _prefix: RepoId,
        _changes: &HashMap<RepoId, BTreeSet<git::activity::Change>>,
    )

Source from the content-addressed store, hash-verified

12
13impl git::SaveChangesForPrefix for Noop {
14 fn save(
15 &self,
16 _prefix: RepoId,
17 _changes: &HashMap<RepoId, BTreeSet<git::activity::Change>>,
18 ) -> Result<()> {
19 // Do nothing
20 Ok(())
21 }
22}
23
24impl git::CacheStats for Noop {

Callers 3

callMethod · 0.80
write_repo_changesMethod · 0.80
POSTFunction · 0.80

Calls 7

to_stringFunction · 0.85
KeyClass · 0.85
stats_keyMethod · 0.80
connectionMethod · 0.80
try_intoMethod · 0.45
getMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected