Juri Strumpflohner b51676a89a
docs(core): restructure guides into technologies sections (#31288)
Updates the docs structure, navigation etc to be easier + better suited
for showing Nx technology support beyond just TS.

**Notes:**

- API (`/nx-api`) tab is removed from the navigation (i.e. menu bar),
but pages still remain for now until we update references in `*.md`
files.
- Redirects are set up `/nx-api` to go to their respect new location
e.g. `/technologies` or `/reference/core-api`
- Old URLs still exist in the sitemap for now, but majority of them will
be redirected -- a follow-up PR can remove them.

**Preview:**
https://nx-dev-git-nx-dev-polyglot-docs-restructure-nrwl.vercel.app/docs

---------

Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
2025-05-29 14:55:34 -04:00

25 lines
865 B
Markdown

# Function: glob
**glob**(`tree`, `patterns`): `string`[]
Performs a tree-aware glob search on the files in a workspace. Able to find newly
created files and hides deleted files before the updates are committed to disk.
Paths should be unix-style with forward slashes.
#### Parameters
| Name | Type | Description |
| :--------- | :-------------------------------------------------- | :---------------------- |
| `tree` | [`Tree`](/reference/core-api/devkit/documents/Tree) | The file system tree |
| `patterns` | `string`[] | A list of glob patterns |
#### Returns
`string`[]
Normalized paths in the workspace that match the provided glob patterns.
**`Deprecated`**
Use [globAsync](/reference/core-api/devkit/documents/globAsync) instead.