MCPcopy Create free account
hub / github.com/enowdev/enowX-Coder / requires_permission

Method requires_permission

src-tauri/src/tools/executor.rs:615–617  ·  view source on GitHub ↗
(&self, path: &str)

Source from the content-addressed store, hash-verified

613 }
614
615 pub fn requires_permission(&self, path: &str) -> bool {
616 self.is_sensitive_file(Path::new(path))
617 }
618
619 pub fn is_outside_sandbox(&self, path: &str) -> bool {
620 self.validate_path(path).is_err()

Callers 1

Calls 1

is_sensitive_fileMethod · 0.80

Tested by

no test coverage detected