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

Function is_image_mime

crates/opencode-tool/src/read.rs:233–235  ·  view source on GitHub ↗
(mime: &str)

Source from the content-addressed store, hash-verified

231}
232
233fn is_image_mime(mime: &str) -> bool {
234 mime.starts_with("image/") && mime != "image/svg+xml" && mime != "image/vnd.fastbidsheet"
235}
236
237fn handle_binary_file(
238 path: &Path,

Callers 1

executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected