Skip to main content

save_container_through

Function save_container_through 

Source
pub fn save_container_through(
    source: &Path,
    at: Rev,
    root: &Path,
    author: &Identity,
) -> Result<Store<Any>, PrefixFailure>
Expand description

Save the container at source as it stood at at, into a new one at root — Save-as, and how a session that already has a manifest makes another. The lines are copied rather than re-authored, so everything the records carry comes with them.

§Errors

As crate::prefix::save_through.