Skip to main content

keep_sent

Function keep_sent 

Source
pub fn keep_sent(
    body: &UploadBody,
    hash: &str,
    key: &str,
    nonce: &str,
    pt_len: u64,
    mime: &str,
) -> bool
Expand description

Mark a pending file message failed (in state, in the UI, on disk) and hand back err. Keep a sent blob in the store: the file moves in, bytes in hand are written there.