MCPcopy Create free account
hub / github.com/apache/datafusion / is_valid_cli_option_name

Function is_valid_cli_option_name

benchmarks/src/benchmark_runner/suite.rs:408–411  ·  view source on GitHub ↗
(name: &str)

Source from the content-addressed store, hash-verified

406}
407
408fn is_valid_cli_option_name(name: &str) -> bool {
409 name.chars()
410 .all(|c| c.is_ascii_lowercase() || c.is_ascii_digit() || c == '-')
411}
412
413fn read_dir_entries(dir: &Path, label: &str) -> Result<Vec<DirEntry>> {
414 let entries = fs::read_dir(dir).map_err(|e| {

Callers 2

validateMethod · 0.85
validate_short_aliasMethod · 0.85

Calls 1

allMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…