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

Method write

backend/tests/git/fixtures.rs:128–136  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

126 }
127
128 fn write(&self) {
129 let options = dir::CopyOptions {
130 overwrite: true,
131 content_only: true,
132 ..Default::default()
133 };
134 dir::copy(&self.path, &self.source, &options)
135 .unwrap_or_else(|_| panic!("problem updating {:?} to {:?}", self.path, self.source));
136 }
137
138 pub fn upsert_link(
139 &self,

Callers 2

update_simple_fixturesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected