Skip to main content

pull

Function pull 

Source
pub fn pull(
    reference: &str,
    cfg: &PullConfig,
    spine: &Spine,
) -> Result<Pulled, String>
Expand description

Pull a model reference, recording the whole thing in the spine.

The recording is not decoration. PullStarted goes in before any bytes move, so a pull that dies halfway leaves evidence that it was attempted and from where — the alternative is a half-empty blob directory and no idea which model it belongs to.