From 55c7ea778be2f3ce44d88440607ac8d4117e31d2 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Wed, 11 Mar 2026 22:52:11 +0800 Subject: Add dependencies and constants for vault system --- systems/_framework/src/space.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'systems/_framework/src/space.rs') diff --git a/systems/_framework/src/space.rs b/systems/_framework/src/space.rs index c57fa26..79c9b37 100644 --- a/systems/_framework/src/space.rs +++ b/systems/_framework/src/space.rs @@ -1,5 +1,5 @@ use crate::space::error::SpaceError; -use just_fmt::fmt_path::{PathFormatConfig, PathFormatError, fmt_path, fmt_path_custom}; +use just_fmt::fmt_path::{PathFormatConfig, fmt_path, fmt_path_custom}; use std::{ cell::Cell, env::current_dir, @@ -114,7 +114,7 @@ impl Space { /// Set the current directory explicitly. /// /// This clears any cached space directory. - pub fn set_current_dir(&mut self, path: PathBuf) -> Result<(), PathFormatError> { + pub fn set_current_dir(&mut self, path: PathBuf) -> Result<(), SpaceError> { self.update_space_dir(None); self.current_dir = Some(fmt_path(path)?); Ok(()) -- cgit