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

Function is_comment_line

benchmarks/src/sql_benchmark.rs:1302–1305  ·  view source on GitHub ↗
(line: &str)

Source from the content-addressed store, hash-verified

1300}
1301
1302fn is_comment_line(line: &str) -> bool {
1303 let line = line.trim_start();
1304 line.starts_with('#') || line.starts_with("--")
1305}
1306
1307fn is_blank_or_comment_line(line: &str) -> bool {
1308 is_blank_line(line) || is_comment_line(line)

Callers 5

process_queryMethod · 0.85
process_templateMethod · 0.85
is_blank_or_comment_lineFunction · 0.85
read_query_from_readerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…