MCPcopy Create free account
hub / github.com/PRQL/prql / has_debug_log

Function has_debug_log

prqlc/prqlc/src/cli/mod.rs:555–563  ·  view source on GitHub ↗
(cli: &Cli)

Source from the content-addressed store, hash-verified

553}
554
555fn has_debug_log(cli: &Cli) -> bool {
556 matches!(
557 cli.command,
558 Some(Command::Compile {
559 debug_log: Some(_),
560 ..
561 })
562 )
563}
564
565pub fn write_log(path: &std::path::Path) -> Result<()> {
566 let debug_log = if let Some(debug_log) = debug::log_finish() {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected