pub(crate) fn open_output(
config: &WriteConfig,
) -> Result<(File, PathBuf), ReadStatError>Expand description
Creates a uniquely named staging file beside the destination. Keeping the staging file in the same directory makes the eventual rename a same-filesystem operation.