Skip to main content

find_messages

Function find_messages 

Source
pub fn find_messages(
    root: &Path,
    id: &str,
) -> Result<Vec<(Mailbox, StoredEnvelope)>>
Expand description

The messages filed on this machine under root whose id is id or starts with it, like git’s short hashes: the mailbox holding each, and the envelope. A prefix shorter than the kind and MIN_PREFIX_DIGITS digits matches nothing; more than one match means the prefix is ambiguous.