add nar tests
This commit is contained in:
parent
54d4c714af
commit
09181ae785
5 changed files with 42 additions and 9 deletions
|
@ -15,10 +15,10 @@ use crate::store::Store;
|
|||
pub struct MakeNar<'a> {
|
||||
path_info: &'a PathInfo,
|
||||
store: Arc<Store>,
|
||||
nar_hasher: Sha256,
|
||||
pub nar_hasher: Sha256,
|
||||
/// hash of compressed nar file
|
||||
file_hasher: Sha256,
|
||||
nar_size: u64,
|
||||
pub nar_size: u64,
|
||||
file_size: u64,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue