src/pxar/encoder.rs: Refactor file stat

Introduce helper functions to check file stats

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
Christian Ebner
2019-05-27 13:59:17 +02:00
committed by Dietmar Maurer
parent 578b601159
commit ab87f167f1
3 changed files with 49 additions and 12 deletions

View File

@ -61,3 +61,5 @@ pub use sequential_decoder::*;
mod decoder;
pub use decoder::*;
mod helper;