Use AbsolutePathBuf in skill loading and codex_home (#17407)

Helps with FS migration later
This commit is contained in:
pakrym-oai authored and GitHub committed 2026-04-13 10:26:51 -07:00
1 parent d25a9822a7
commit ac82443d07
86 files changed
+850 -625

No files matched your search

+3 -4
View File
@@ -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));
}