Skip to main content

put_remote

Function put_remote 

Source
pub fn put_remote(
    conn: &Connection,
    server: &str,
    media_id: &str,
    blob: &Blob,
    now_ms: i64,
) -> Result<()>
Expand description

Caches another server’s file; drops expired copies, then the oldest while over the cap.