src/pxar/encoder.rs: include .pxarexclude files into the catalog
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
parent
20feec9fac
commit
40c9ff9d81
@ -781,6 +781,9 @@ impl<'a, W: Write, C: BackupCatalogWriter> Encoder<'a, W, C> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
self.write_filename(&filename)?;
|
self.write_filename(&filename)?;
|
||||||
|
if let Some(ref mut catalog) = self.catalog {
|
||||||
|
catalog.add_file(&filename, stat.st_size as u64, stat.st_mtime as u64)?;
|
||||||
|
}
|
||||||
self.encode_pxar_exclude(filefd, stat, child_magic, content)?;
|
self.encode_pxar_exclude(filefd, stat, child_magic, content)?;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user