You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5fa6f58
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: rust/contracts/rust-core-api.md
+94Lines changed: 94 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -607,6 +607,13 @@ or removing a command fails until the table changes in the same commit.
607
607
| `workspace.configureIndexing` | Install a process-local, canonical-root indexing policy before workspace consumers run; returns a monotonic revision, effective directory reasons and Git failure state; see `rust/fixtures/workspace/indexing-policy-v1.json` |
608
608
| `workspace.refreshIndexing` | Refresh external Git decisions for a live `root`, `ownerId`, `revision` lease without changing preferences or release tokens; returns lazy `IndexingStatus` |
609
609
| `workspace.filterChanges` | Filter an array of workspace-relative paths, or `{ paths, hiddenFilePatterns }` whose `!` entries turn default exclusions off, against Core's default hidden folders and patterns, including the folders enabled plugins declare; preserve order, spelling, and the empty root path. Native event loss bypasses filtering. Hosts relativize to the most specific explicit watch root and retain explicitly watched files |
610
+
| `workspace.findFiles` | Bounded plugin disk file-name search with a query-bound cursor (API-08) |
611
+
| `workspace.findText` | Bounded plugin disk text search, without dirty buffers (API-08) |
612
+
| `workspace.watchPlan` | Validate a local watch target before native registration (API-07) |
613
+
| `workspace.watchEvents` | Filter and bound one native root-relative event batch (API-07) |
614
+
| `workspace.readDirectory` | Return one bounded no-follow disk directory page for API-06; see Workspace disk reads below |
615
+
| `workspace.stat` | Stat a workspace leaf without following it or any ancestor link (API-06) |
616
+
| `workspace.readFile` | Read at most 128 KiB of regular-file disk bytes without following links (API-06) |
610
617
| `workspace.listDirectories` | Return one visible level of children for each requested workspace-relative directory (`""` is the root); missing, hidden, external/cyclic symlink, or nested-worktree paths are omitted; workspace-internal aliases are browsable and each listing reports `linked: true` when reached through an alias, and each listing reports the nested worktrees it left out. Child directories have `children: []` only when a shallow probe proves them visibly empty; otherwise children remain omitted (unloaded), with no recursive tree allocation. Children list directories first, then names in IDEA's natural file-name order (digit runs compare by value, case-insensitive, `-` next to `_`; fixture `rust/fixtures/workspace/file-name-order-v1.json`) |
611
618
| `workspace.orderEntries` | Order natively enumerated directory siblings |
612
619
| `workspace.projectTree.rows` | Say which loaded project tree nodes show as rows, keep the selection on a row that shows, and find the row the top of the view was on, without reading the disk (from `lithe-project-tree`) |
@@ -7492,6 +7499,93 @@ to exist, creates the copy without replacing anything (`FileManager.copyItem`, w
7492
7499
appeared meanwhile, adds the name to `existing` and plans again. After 512 rounds the host reports
7493
7500
the stable `destination_exists` error. Cases are in `rust/fixtures/workspace/file-copy-names-v1.json`.
0 commit comments