mirror of
https://github.com/openai/codex.git
synced 2026-11-13 22:47:20 +00:00
Use AbsolutePathBuf in skill loading and codex_home (#17407)
Helps with FS migration later
This commit is contained in:
1 parent
d25a9822a7
commit
ac82443d07
86 files changed
+850
-625
No files matched your search
@@ -1,9 +1,8 @@
|
||||
pub(crate) use codex_skills::install_system_skills;
|
||||
pub(crate) use codex_skills::system_cache_root_dir;
|
||||
|
||||
use std::path::Path;
|
||||
use codex_utils_absolute_path::AbsolutePathBuf;
|
||||
|
||||
pub(crate) fn uninstall_system_skills(codex_home: &Path) {
|
||||
let system_skills_dir = system_cache_root_dir(codex_home);
|
||||
let _ = std::fs::remove_dir_all(&system_skills_dir);
|
||||
pub(crate) fn uninstall_system_skills(codex_home: &AbsolutePathBuf) {
|
||||
let _ = std::fs::remove_dir_all(system_cache_root_dir(codex_home));
|
||||
}
|
||||
Reference in new issue
Block a user