Skip to main content

stage

Function stage 

Source
pub async fn stage(
    pool: &PgPool,
    vault: &Vault,
    actor: &Actor,
    filename: &str,
    content: Vec<u8>,
    options: ImportOptions,
) -> AppResult<Uuid>
Expand description

Stores an upload for the preview; fails right away if the file cannot be read. STEP files go to the vault, tables into the row.