Skip to main content

decide

Function decide 

Source
pub fn decide(owner: &Owner, holder: &Holder) -> Decision
Expand description

Whether holder’s worktree may be released to a new run.

Liveness::Unknown is refused like a live driver: an owner’s answer cannot substitute for execution-lease or process-identity evidence. A run in landing (possibly waiting on the owner’s approval) is refused as well.