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

Function main

datafusion-cli/src/main.rs:163–170  ·  view source on GitHub ↗

Calls [`main_inner`], then handles printing errors and returning the correct exit code

()

Source from the content-addressed store, hash-verified

161#[tokio::main]
162/// Calls [`main_inner`], then handles printing errors and returning the correct exit code
163pub async fn main() -> ExitCode {
164 if let Err(e) = main_inner().await {
165 println!("Error: {e}");
166 return ExitCode::FAILURE;
167 }
168
169 ExitCode::SUCCESS
170}
171
172/// Main CLI entrypoint
173async fn main_inner() -> Result<()> {

Callers

nothing calls this directly

Calls 1

main_innerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…