Skip to main content

check_base

Function check_base 

Source
pub fn check_base(
    base: &BaseVersion,
    current: Option<ServerFile<'_>>,
    upload_sha256: &str,
) -> Result<(), BaseConflict>
Expand description

Checks an upload against the current server file. Identical content is never a conflict (nothing would be overwritten).