From cf01169e467f4ac36d2d8b9ce13e7bbc81d46aa5 Mon Sep 17 00:00:00 2001 From: Mel Date: Sat, 2 Oct 2021 21:30:03 +0200 Subject: Immutable Fs implementation and replaced exists calls. --- src/actions/create.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/actions/create.rs') diff --git a/src/actions/create.rs b/src/actions/create.rs index 20dbff7..c12d416 100644 --- a/src/actions/create.rs +++ b/src/actions/create.rs @@ -3,7 +3,7 @@ use anyhow::Result; use super::ActionOptions; -pub fn create(command_options: ActionOptions, fs: &mut impl Fs) -> Result<()> { +pub fn create(command_options: ActionOptions, fs: &impl Fs) -> Result<()> { let locations = Locations::from(&command_options); // FIXME: Re-add old repository deletion. // if locations.ka_path.exists() { -- cgit 1.4.1