diff --git a/ofborg/src/lib.rs b/ofborg/src/lib.rs index f37f33a..5f57650 100644 --- a/ofborg/src/lib.rs +++ b/ofborg/src/lib.rs @@ -47,6 +47,7 @@ pub mod locks; pub mod maintainers; pub mod message; pub mod nix; +pub mod nixenv; pub mod nixstats; pub mod notifyworker; pub mod outpathdiff; diff --git a/ofborg/src/outpathdiff.rs b/ofborg/src/outpathdiff.rs index 13807c9..95334a3 100644 --- a/ofborg/src/outpathdiff.rs +++ b/ofborg/src/outpathdiff.rs @@ -112,7 +112,7 @@ impl OutPathDiff { } } -type PackageOutPaths = HashMap; +pub type PackageOutPaths = HashMap; #[derive(Debug, PartialEq, Hash, Eq, Clone)] pub struct PackageArch { @@ -191,7 +191,7 @@ impl OutPaths { } } -fn parse_lines(data: &mut BufRead) -> PackageOutPaths { +pub fn parse_lines(data: &mut BufRead) -> PackageOutPaths { data.lines() .filter_map(|line| match line { Ok(line) => Some(line),