MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / write

Method write

atomic-cli/tests/it/status_git_cb11a_test.rs:176–178  ·  view source on GitHub ↗
(&self, relative: &str, content: &str)

Source from the content-addressed store, hash-verified

174 }
175
176 fn write(&self, relative: &str, content: &str) {
177 fs::write(self.root().join(relative), content).expect("write fixture file");
178 }
179
180 fn read(&self, relative: &str) -> Vec<u8> {
181 fs::read(self.root().join(relative)).expect("read fixture file")

Calls 2

writeFunction · 0.70
rootMethod · 0.45

Tested by

no test coverage detected