is_ignored

SolidGroundUX DocumentationSolidGroundUX
NL

fn: is_ignored

Purpose

Whether a source path is beneath a directory containing .ignore.

Signature

def is_ignored(path: Path, boundary: Path) -> bool:

The boundary is included, but ancestors outside it are never inspected.

Usage

is_ignored(path, boundary)