From f596b3eae8ead8b8dc3eb4993a4c527f8b1b04ea Mon Sep 17 00:00:00 2001 From: Neil Kollack Date: Mon, 7 Feb 2022 23:26:09 -0600 Subject: fix: make requested fixes --- zone_zfs/src/file_system.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'zone_zfs/src/file_system.rs') 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 { -- cgit v1.2.3-70-g09d2