MCPcopy 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
160fn is_glob_pattern(s: &str) -> bool {
161 s.contains('*') || s.contains('?')
162}
163
164fn is_url(s: &str) -> bool {
165 s.starts_with("http://") || s.starts_with("https://")

Callers 1

resolve_config_pathMethod · 0.85

Calls 1

containsMethod · 0.80

Tested by

no test coverage detected