MCPcopy Create free account
hub / github.com/hashintel/hash / main

Function main

apps/hash-graph/src/main.rs:27–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
26
27fn main() -> Result<(), Report<GraphError>> {
28 load_env(None);
29
30 let Args {
31 subcommand,
32 tracing_config,
33 } = Args::parse_args();
34
35 let _sentry_guard = init(&tracing_config.sentry, release_name!());
36
37 subcommand.execute(tracing_config)
38}

Callers

nothing calls this directly

Calls 3

load_envFunction · 0.85
initFunction · 0.50
executeMethod · 0.45

Tested by

no test coverage detected