Skip to content

Commit a3e03d6

Browse files
Copilotlpcox
andauthored
Remove unused is_update_operation and is_create_operation functions from tools.rs
Agent-Logs-Url: https://github.com/github/gh-aw-mcpg/sessions/5e165951-7335-4f8b-90ce-b565a68fb3ff Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
1 parent 5e52164 commit a3e03d6

File tree

1 file changed

+0
-10
lines changed
  • guards/github-guard/rust-guard/src

1 file changed

+0
-10
lines changed

guards/github-guard/rust-guard/src/tools.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,6 @@ pub fn is_delete_operation(tool_name: &str) -> bool {
8989
tool_name.starts_with("delete_")
9090
}
9191

92-
/// Check if a tool is an update operation
93-
pub fn is_update_operation(tool_name: &str) -> bool {
94-
tool_name.starts_with("update_")
95-
}
96-
97-
/// Check if a tool is a create operation
98-
pub fn is_create_operation(tool_name: &str) -> bool {
99-
tool_name.starts_with("create_")
100-
}
101-
10292
/// Check if a tool is a lock operation
10393
pub fn is_lock_operation(tool_name: &str) -> bool {
10494
tool_name.starts_with("lock_")

0 commit comments

Comments
 (0)