Skip to main content

file

Function file 

Source
pub fn file(
    queue: &Queue,
    home: &Path,
    now: Timestamp,
    own_pid: u32,
    filing: Filing,
    force_local: bool,
) -> Result<Filed>
Expand description

File filing and decide who runs it. home is the magi home whose daemon.json is judged; own_pid is this process (a loop of our own is not “another” one). force_local (--dry-run) never hands over: a dry run spends no agent call and a loop would not honour that.