Skip to main content

is_zebra_source

Function is_zebra_source 

Source
fn is_zebra_source(path: &str) -> bool
Expand description

Returns whether path is a source file in one of Zebra’s crates.

A crate’s sources are in <crate directory>/src/. The directory is the crate name in a checkout, such as /zebra/zebrad/src/ in the Docker images, and the crate name and version in the Cargo registry, such as zebra-chain-14.0.0/src/.