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

Method mutation

backend/src/git/client.rs:443–450  ·  view source on GitHub ↗
(&self, mode: IndexMode)

Source from the content-addressed store, hash-verified

441 }
442
443 pub fn mutation(&self, mode: IndexMode) -> Result<Mutation> {
444 Ok(Mutation {
445 changes: vec![],
446 client: self.to_owned(),
447 files: BTreeMap::new(),
448 indexer: Indexer::new(mode),
449 })
450 }
451
452 pub fn view(&self, repo_id: RepoId) -> Result<core::View> {
453 core::View::ensure(&self.root, repo_id, &self.timespec)

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected