Skip to main content

sync_push

Function sync_push 

Source
pub fn sync_push(
    cfg: &HubConfig,
    brain: &str,
    files: &[(String, String)],
) -> LinkResult<Value>
Expand description

Push files to brain as a whole-store snapshot — the hub’s push semantics: the hosted copy becomes exactly this set (pull first if the hosted side may have records the local copy lacks). Client-side caps mirror the hub’s JSON-path limits so an oversized push fails before the upload.