isNotGitDirectoryOrContents()
Home > @backstage/plugin-scaffolder-node > isNotGitDirectoryOrContents
Filter function to exclude the .git directory and its contents while keeping other files like .gitignore
Signature:
function isNotGitDirectoryOrContents(path: string): boolean;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
path |
string |
boolean