Skip to main content

Module push

Module push 

Source
Expand description

semora push: publish a file or folder.

Structs§

Payload
What to send for path: body, content type, single-file name, warnings.

Functions§

check_filed
An old server ignores the project parameters and makes a plain document.
hint_outside_project
Adds a command’s own way out of a .semora for another server: flags is --id or --new for push, --id for watch. Other errors pass through.
note_outside_project
One line when --id or --new pushes outside the project that holds path.
parse_meta
key=value pairs; values that parse as JSON scalars keep their type.
payload
print_push
push_path
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.
run
tags