Implement archive feature use flag

This commit is contained in:
timvisee 2018-05-17 14:35:08 +02:00
parent b62f3fd343
commit 358bc6816a
No known key found for this signature in database
GPG key ID: 109CBA0BF74036C2
7 changed files with 95 additions and 61 deletions

View file

@ -289,7 +289,7 @@ impl RemoteFile {
/// This is ofcourse only done for properties that may be empty.
///
/// The file IDs are not asserted for equality.
#[allow(useless_let_if_seq)]
#[allow(unknown_lints, useless_let_if_seq)]
pub fn merge(&mut self, other: &RemoteFile, overwrite: bool) -> bool {
// Remember whether anything has changed
let mut changed = false;