diff options
-rw-r--r-- | zone_zfs/src/file_system.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zone_zfs/src/file_system.rs b/zone_zfs/src/file_system.rs index 2d3457f..060c543 100644 --- a/zone_zfs/src/file_system.rs +++ b/zone_zfs/src/file_system.rs @@ -156,7 +156,7 @@ impl FileSystem { .collect() } - pub(super) fn mount_filesystem(&self) -> Result<()> { + pub fn mount(&self) -> Result<()> { match Command::new("zfs") .arg("mount") .arg(&self.value) @@ -168,7 +168,7 @@ impl FileSystem { } } - pub(super) fn unmount_filesystem(&self) -> Result<()> { + pub fn unmount(&self) -> Result<()> { match Command::new("zfs") .arg("unmount") .arg(&self.value) @@ -180,7 +180,7 @@ impl FileSystem { } } - pub(super) fn destroy_filesystem(&self, force: bool) -> Result<()> { + pub fn destroy(&self, force: bool) -> Result<()> { let mut args: Vec<&OsStr> = Vec::new(); let f_arg = &OsString::from("-f"); if force { |