Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ is_glob_pattern
Function
is_glob_pattern
crates/opencode-session/src/instruction.rs:160–162 ·
view source on GitHub ↗
(s: &str)
Source
from the content-addressed store, hash-verified
158
}
159
160
fn is_glob_pattern(s: &str) -> bool {
161
s.contains(
'*'
) || s.contains(
'?'
)
162
}
163
164
fn is_url(s: &str) -> bool {
165
s.starts_with(
"http://"
) || s.starts_with(
"https://"
)
Callers
1
resolve_config_path
Method · 0.85
Calls
1
contains
Method · 0.80
Tested by
no test coverage detected