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

Function parse_bool_env

crates/backend/src/article_request_worker.rs:601–603  ·  view source on GitHub ↗
(raw: &str)

Source from the content-addressed store, hash-verified

599}
600
601fn parse_bool_env(raw: &str) -> bool {
602 matches!(raw.trim().to_ascii_lowercase().as_str(), "1" | "true" | "yes" | "y" | "on")
603}
604
605async fn send_request_done_notification(
606 notifier: Option<&Arc<EmailNotifier>>,

Callers 1

from_envMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected