From 06368584a9277022d9cfc42d22c37f4cc6e580f8 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 8 Jun 2026 02:23:31 +0900 Subject: refactor(external-packages): drop component segment from symfony paths Align the Symfony namespace mapping with the documented convention (symfony::component::X -> symfony::X) and remove now-unused console stub files. Update all import paths across the workspace. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../src/symfony/process/process.rs | 116 +++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 crates/shirabe-external-packages/src/symfony/process/process.rs (limited to 'crates/shirabe-external-packages/src/symfony/process/process.rs') diff --git a/crates/shirabe-external-packages/src/symfony/process/process.rs b/crates/shirabe-external-packages/src/symfony/process/process.rs new file mode 100644 index 0000000..227606b --- /dev/null +++ b/crates/shirabe-external-packages/src/symfony/process/process.rs @@ -0,0 +1,116 @@ +use indexmap::IndexMap; + +#[derive(Debug)] +pub struct Process; + +impl Process { + pub const ERR: &'static str = "err"; + pub const OUT: &'static str = "out"; + + pub fn new( + _command: Vec, + _cwd: Option, + _env: Option>, + _input: Option, + _timeout: Option, + ) -> Self { + todo!() + } + + pub fn from_shell_commandline( + _command: &str, + _cwd: Option<&str>, + _env: Option>, + _input: Option, + _timeout: Option, + ) -> Self { + todo!() + } + + pub fn set_timeout(&mut self, _timeout: Option) -> &mut Self { + todo!() + } + + pub fn set_env(&mut self, _env: IndexMap) -> &mut Self { + todo!() + } + + pub fn set_input(&mut self, _input: Option) -> &mut Self { + todo!() + } + + pub fn run(&mut self, _callback: Option>) -> i64 { + todo!() + } + + pub fn must_run( + &mut self, + _callback: Option>, + ) -> anyhow::Result<&mut Self> { + todo!() + } + + pub fn start(&mut self, _callback: Option>) { + todo!() + } + + pub fn wait(&mut self, _callback: Option>) -> i64 { + todo!() + } + + pub fn stop(&mut self, _timeout: f64, _signal: Option) -> Option { + todo!() + } + + pub fn is_running(&self) -> bool { + todo!() + } + + pub fn is_successful(&self) -> bool { + todo!() + } + + pub fn is_started(&self) -> bool { + todo!() + } + + pub fn is_terminated(&self) -> bool { + todo!() + } + + pub fn get_output(&self) -> String { + todo!() + } + + pub fn get_error_output(&self) -> String { + todo!() + } + + pub fn get_exit_code(&self) -> Option { + todo!() + } + + pub fn get_exit_code_text(&self) -> Option { + todo!() + } + + pub fn get_command_line(&self) -> String { + todo!() + } + + pub fn check_timeout(&self) -> anyhow::Result<()> { + todo!() + } + + pub fn get_timeout(&self) -> Option { + todo!() + } + + pub fn set_working_directory(&mut self, _cwd: &str) -> &mut Self { + todo!() + } + + pub fn set_tty(&mut self, _tty: bool) -> anyhow::Result<&mut Self> { + todo!() + } +} -- cgit v1.3.1