mirror of
https://github.com/openai/codex.git
synced 2026-10-26 18:38:47 +00:00
- Migrate apply-patch verification and application internals to use the async `ExecutorFileSystem` abstraction from `exec-server`. - Convert apply-patch `cwd` handling to `AbsolutePathBuf` through the verifier/parser/handler boundary. Doesn't change how the tool itself works.
8 lines
261 B
Rust
8 lines
261 B
Rust
pub(crate) use codex_utils_absolute_path::test_support::PathBufExt;
|
|
pub(crate) use codex_utils_absolute_path::test_support::PathExt;
|
|
use std::path::Path;
|
|
|
|
pub(crate) fn test_path_display(path: &str) -> String {
|
|
Path::new(path).abs().display().to_string()
|
|
}
|