fix: add script_dir() method to PythonExecutor
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user