Skip to main content

push_path

Function push_path 

Source
pub async fn push_path(
    ctx: &Ctx,
    client: &Client,
    path: &Path,
    explicit_id: Option<&str>,
    force_new: bool,
    force: bool,
    query: &PushQuery,
) -> Result<PushResponse>
Expand description

Pushes path. Inside a project (a .semora above it) it goes by key, unless --id or --new says otherwise; outside one it replaces the explicit or remembered document. force pushes by key even when the server has a newer revision than this checkout.