diff --git a/src/nix/host/mod.rs b/src/nix/host/mod.rs index 3cc35f6..c7cf046 100644 --- a/src/nix/host/mod.rs +++ b/src/nix/host/mod.rs @@ -65,6 +65,18 @@ impl CopyOptions { self.gzip = val; self } + + pub fn get_include_outputs(&self) -> bool { + self.include_outputs + } + + pub fn get_use_substitutes(&self) -> bool { + self.use_substitutes + } + + pub fn get_gzip(&self) -> bool { + self.gzip + } } impl Default for RebootOptions {