pub fn sync_pull(
cfg: &HubConfig,
brain: &str,
out: Option<&Path>,
) -> LinkResult<PullReport>Expand description
Pull the granted slice of brain to out (default: ./<slug>). Every
exported path is safety-gated before it touches disk; files are written
atomically; nothing local is ever deleted (locals the export lacks are
reported in extra_local instead). Returns the report; rebuilding the
local index catalog afterwards is the caller’s (cheap, optional) step.