Skip to main content

repo_root

Function repo_root 

pub fn repo_root() -> &'static Path
Expand description

The repository root.

Resolved from this crate’s manifest directory at compile time, so cargo dev behaves the same from any working directory. It is used to open files and is never rendered into a page — a generated page contains repository-relative paths only.