* `git ls-files --directory` collapses a wholly-untracked/ignored directory into * one entry — and when the command's own cwd is such a directory (the indexed * root is itself a git-ignored subdir of an enclosing repo), git emits the * literal `./` meaning "this entire directory". That sentinel i
(entry: string)
| 501 | * `--directory` output. (#936) |
| 502 | */ |
| 503 | function isWholeCwdEntry(entry: string): boolean { |
| 504 | return entry === './' || entry === '.' || entry === ''; |
| 505 | } |
| 506 | |
| 507 | /** |
| 508 | * List the gitignored DIRECTORIES of a repo (collapsed, trailing-slash form), |
no outgoing calls
no test coverage detected