Skip to main content

ensure

Function ensure 

Source
pub async fn ensure(root: &Path) -> Result<Outcome>
Expand description

Ensure root’s .gitignore ignores drep.toml, and report what happened.

Writes nothing when git already ignores or already tracks the path.