Skip to main content

take_pass_lease

Function take_pass_lease 

Source
pub(crate) fn take_pass_lease(
    fs: &FileStore,
    uid: &str,
    until: Instant,
) -> Result<Option<String>, StoreError>
Expand description

Take the lease until until; None while another pass holds it.