add nar tests
This commit is contained in:
parent
54d4c714af
commit
09181ae785
5 changed files with 42 additions and 9 deletions
|
@ -4,7 +4,7 @@ use clap::{Args, Parser, Subcommand};
|
|||
|
||||
mod bindings;
|
||||
mod cli;
|
||||
mod make_nar;
|
||||
pub mod make_nar;
|
||||
pub mod path_info;
|
||||
pub mod push;
|
||||
pub mod store;
|
||||
|
|
|
@ -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