core-agent-ide/codex-rs/apply-patch/src
Dylan Hurd e290d48264
chore(apply-patch) move invocation parsing (#8110)
lib.rs has grown quite large, and mixes two responsibilities:
1. executing patch operations
2. parsing apply_patch invocations via a shell command

This PR splits out (2) into its own file, so we can work with it more
easily. We are explicitly NOT moving tests in this PR, to ensure
behavior stays the same and we can avoid losing coverage via merge
conflicts. Tests are moved in a subsequent PR.

---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/openai/codex/pull/8110).
* #8111
* __->__ #8110
2025-12-16 10:30:59 -08:00
..
invocation.rs chore(apply-patch) move invocation parsing (#8110) 2025-12-16 10:30:59 -08:00
lib.rs chore(apply-patch) move invocation parsing (#8110) 2025-12-16 10:30:59 -08:00
main.rs feat: use the arg0 trick with apply_patch (#2646) 2025-08-24 14:35:51 -07:00
parser.rs chore: enable clippy::redundant_clone (#3489) 2025-09-11 11:59:37 -07:00
seek_sequence.rs chore: clippy on redundant closure (#4058) 2025-09-22 19:30:16 +00:00
standalone_executable.rs feat: use the arg0 trick with apply_patch (#2646) 2025-08-24 14:35:51 -07:00