MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / is_url

Function is_url

crates/opencode-session/src/instruction.rs:164–166  ·  view source on GitHub ↗
(s: &str)

Source from the content-addressed store, hash-verified

162}
163
164fn is_url(s: &str) -> bool {
165 s.starts_with("http://") || s.starts_with("https://")
166}
167
168fn instruction_source_from_filename(name: &str) -> InstructionSource {
169 match name {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected