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

Method is_sensitive_file

src-tauri/src/tools/executor.rs:181–183  ·  view source on GitHub ↗
(&self, path: &Path)

Source from the content-addressed store, hash-verified

179 }
180
181 fn is_sensitive_file(&self, path: &Path) -> bool {
182 sensitive_globset().is_match(path)
183 }
184
185 pub async fn execute(&self, call: ToolCall) -> ToolResult {
186 let tool = call.tool;

Callers 1

requires_permissionMethod · 0.80

Calls 1

sensitive_globsetFunction · 0.85

Tested by

no test coverage detected