refactor: Remove concept of PM_CACHE

This commit is contained in:
Abhisek Datta
2026-01-08 13:42:05 +05:30
parent ed59693f88
commit 8492fcf93d
3 changed files with 27 additions and 6 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ import (
// Parameters:
// - ctx: Context for the sandbox execution
// - cmd: The exec.Cmd to be sandboxed (will be modified in place)
// - pmName: Package manager name (e.g., "npm", "pip")
// - pmName: Package manager name (e.g., "npm", "pip") used to determine the sandbox policy to apply
// - mode: Optional mode description for logging (e.g., "proxy mode", empty for default)
//
// Returns an error if sandbox setup fails, or nil if sandbox is not enabled/available.