Function is_inside_work_tree

Source
pub fn is_inside_work_tree() -> Result<bool>
Expand description

Checks if the current directory is inside a Git work tree.

ยงReturns

A Result containing a boolean indicating if inside a work tree or an error.