From 6f1a560d0613806745d8bfc83ae8f21a0a78520a Mon Sep 17 00:00:00 2001 From: Accusys Date: Fri, 26 Jun 2026 13:46:23 +0800 Subject: [PATCH] fix: add script_dir() method to PythonExecutor --- src/core/processor/executor.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/processor/executor.rs b/src/core/processor/executor.rs index 7e2a8af..4557b0a 100644 --- a/src/core/processor/executor.rs +++ b/src/core/processor/executor.rs @@ -192,6 +192,11 @@ impl PythonExecutor { .join(",") } + /// Get the scripts directory path + pub fn script_dir(&self) -> &std::path::PathBuf { + &self.scripts_dir + } + /// Verify a script's SHA256 against the checksums manifest before execution. pub fn verify_script_integrity(&self, script_name: &str) -> Result<()> { let script_path = self.scripts_dir.join(script_name);