pub fn write_sync<I, O>(
input: I,
output: Option<O>,
ext: &str,
contents: impl AsRef<[u8]>,
) -> Result<()>Expand description
Write specified or same location.
ext: Ifoutputis unspecified, rewrite theinputextension and make it theoutput. In that case, the extension.
ยงErrors
- Conflict error due to simultaneous dir creation.
- No write permission to the given path.