Skip to main content

enqueue_import_drafts

Function enqueue_import_drafts 

Source
pub fn enqueue_import_drafts(
    store: &CloudStore,
    config: &CloudConfig,
    root: &Path,
    session_id: &str,
    screen: &mut Screen,
    now: UtcDateTime,
) -> Result<Vec<String>, CloudError>
Expand description

Plan, screen and queue the imported facts of the project at root that changed since its last import draft. Returns the outbox ids (none when there is nothing to propose, Cloud is not set up here, or the Cloud speaks C0 2.0: it takes the imported facts from the knowledge store as signed events through capture, never as a 1.x draft).