Skip to main content

extrair_chaves_env

Function extrair_chaves_env 

Source
pub fn extrair_chaves_env(conteudo: &str) -> Result<Vec<String>>
Expand description

Extracts CONTEXT7_API= keys from .env file content in memory.

Ignores comments (lines starting with #) and blank lines. Removes surrounding double and single quotes from values. Pure function — accepts &str, no I/O, facilitates unit testing.