MCPcopy Create free account
hub / github.com/Sovereign-Engineering/obscuravpn-client / create_dir

Method create_dir

rustlib/src/debug_bundle/zipper.rs:40–44  ·  view source on GitHub ↗
(&mut self, dst: impl AsRef<Utf8Path>)

Source from the content-addressed store, hash-verified

38 /// Parent directories must be created using `create_dir` first.
39 #[allow(unused)]
40 pub fn create_dir(&mut self, dst: impl AsRef<Utf8Path>) -> anyhow::Result<()> {
41 self.writer
42 .add_directory(Utf8PathBuf::from_iter([self.root(), dst.as_ref()]), self.options)
43 .map_err(Into::into)
44 }
45
46 /// `dst` is relative to the archive root.
47 /// Parent directories must be created using `create_dir` first.

Callers

nothing calls this directly

Calls 1

rootMethod · 0.80

Tested by

no test coverage detected