Skip to main content

transfer

Function transfer 

Source
pub fn transfer(
    from: &dyn Provider,
    to: &dyn Provider,
    cx: &Context,
    scope: Option<Scope>,
) -> Result<Moved, Error>
Expand description

Copy every memory from holds in scope (every scope cx reaches when None) into to, keeping ids, kinds, text, links, and times. A memory to already holds under the same id is replaced; nothing is removed from either side. Import from files and export back to it are this, with the providers swapped.