Added getters to CopyOptions

This commit is contained in:
soyouzpanda 2024-12-07 15:32:48 +01:00
parent 94b1a11326
commit eca9e7a425
Signed by: ecoppens
GPG key ID: 871893E37A732093

View file

@ -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 {