| Name | Type | Description |
|---|---|---|
path_str* | str | None | Filesystem path to classify (a display or absolute path).
May be |
Return whether a path points at a credential/secret file.
Best-effort, filename-based, case-insensitive heuristic. It matches .env
and its variants (e.g. .env.local), well-known credential filenames, and
private-key/keystore suffixes, and is used to suppress diff/content
rendering for those files so their contents are not shown in the terminal
UI or scrollback. It classifies by name only, not content, so
secret-bearing files with unrecognized names still render.