Skip to main content

file_task_by

Function file_task_by 

Source
pub(crate) fn file_task_by(
    store: &Store,
    filed_by: &str,
    filed_by_uid: &str,
    kind: &str,
    title: &str,
    payload: &str,
    (target, target_uid): (String, String),
    first_line: &str,
) -> Result<(String, i64), StoreError>
Expand description

file_task_as, with the task’s created_by_uid set to filed_by_uid: a tag the code that filed it can find it by later (a drone’s Task block, to add a note only to a task that drone filed). Nothing authorises on it.