memea::db

Function valid_ext

Source
pub fn valid_ext(path: &str) -> bool
Expand description

Checks if a file path has a supported extension for database files.

§Arguments

  • path - File path to validate

§Returns

true if the extension is supported (yaml, yml, json), false otherwise