featherweight-design/Collect Directory Names by File
Returns an array of parent directory names based on a passed file glob
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| file-glob | A glob representing the file(s) for which to search | yes | — |
| search-directory | The directory to search (if not set, root is used) | no | / |
| unique | Whether or not to return unique values when duplicates may be possible | no | true |
Outputs
| name | description |
|---|---|
| directory-names | An array of parent directory names |