MCPcopy Create free account
hub / github.com/clawshell/clawshell / parse_flags

Function parse_flags

src/email.rs:982–988  ·  view source on GitHub ↗
(raw: &str)

Source from the content-addressed store, hash-verified

980}
981
982fn parse_flags(raw: &str) -> Vec<String> {
983 raw.split_whitespace()
984 .map(|flag| flag.trim().trim_matches(','))
985 .filter(|flag| !flag.is_empty())
986 .map(ToString::to_string)
987 .collect()
988}
989
990pub fn normalize_sender_rule(rule: &str) -> String {
991 rule.trim().to_ascii_lowercase()

Callers 2

fetch_message_contentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected