Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ has_glob_meta
Function
has_glob_meta
crates/opencode-tool/src/ls.rs:58–62 ·
view source on GitHub ↗
(pattern: &str)
Source
from the content-addressed store, hash-verified
56
}
57
58
fn has_glob_meta(pattern: &str) -> bool {
59
pattern
60
.chars()
61
.any(|ch| matches!(ch,
'*'
|
'?'
|
'['
|
']'
|
'{'
|
'}'
))
62
}
63
64
#[async_trait]
65
impl Tool for LsTool {
Callers
1
execute
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected