Added getters to CopyOptions
This commit is contained in:
parent
94b1a11326
commit
eca9e7a425
1 changed files with 12 additions and 0 deletions
|
@ -65,6 +65,18 @@ impl CopyOptions {
|
||||||
self.gzip = val;
|
self.gzip = val;
|
||||||
self
|
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 {
|
impl Default for RebootOptions {
|
||||||
|
|
Loading…
Reference in a new issue