MCPcopy Create free account
hub / github.com/acking-you/static_flow / parse_bool_env

Function parse_bool_env

crates/backend/src/comment_worker.rs:499–501  ·  view source on GitHub ↗
(raw: &str)

Source from the content-addressed store, hash-verified

497}
498
499fn parse_bool_env(raw: &str) -> bool {
500 matches!(raw.trim().to_ascii_lowercase().as_str(), "1" | "true" | "yes" | "y" | "on")
501}
502
503async fn pump_child_stream(
504 store: Arc<CommentDataStore>,

Callers 1

from_envMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected