commandLineHelpers.test|title=extractCdPrefix bash: simple cd|occurrence=1, commandLineHelpers.test|title=extractCdPrefix bash: newline separator|occurrence=1, +3
Frontier kind: Test frontier
unlabeled · c_d9e1d535e772
20 tests · 5780 LOC · 30 files · introduces 5 tests · 0 LOC · 0 files
Introduces — evidence that enters the hierarchy at this concept
- Code
- 0 ranges0 lines · 0 files
- Tests
- 5 tests
Contains — complete concept membership
- All code (extent)
- 818 ranges5780 lines · 30 files · Browse complete extent
- All tests (intent)
- 20 testsBrowse complete intent
Neighbourhood graph
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
- Focus concept
- Ancestors (broader)
- Descendants (narrower)
- Introduced files
- Introduced tests
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
-
commandLineHelpers.test|title=extractCdPrefix bash: simple cd|occurrence=1, commandLineHelpers.test|title=extractCdPrefix bash: newline separator|occurrence=1, +3 — Focused concept
Introduced tests:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/common/commandLineHelpers.test|title=extractCdPrefix bash: && separator multi-line suffix|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/common/commandLineHelpers.test|title=extractCdPrefix bash: extra spaces after &&|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/common/commandLineHelpers.test|title=extractCdPrefix bash: newline separator multi-line suffix|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/common/commandLineHelpers.test|title=extractCdPrefix bash: newline separator|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/common/commandLineHelpers.test|title=extractCdPrefix bash: simple cd|occurrence=1
- copilotAgentSession.test|title=CopilotAgentSession event mapping live tool_complete past-tense message reflects the rewritten command|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession event mapping live tool_start strips redundant cd prefix matching workingDirectory|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession event mapping live tool_start does not rewrite when cd target differs from workingDirectory|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.ts ×1 — Ancestor (broader) Introduced files:
- historyRecordFixtures.test|title=mapSessionEventsToHistoryRecords cd-prefix rewriting handles quoted directory in cd prefix|occurrence=1 — Ancestor (broader) Introduced tests:
-
historyRecordFixtures.test|title=mapSessionEventsToHistoryRecords cd-prefix rewriting handles trailing slash on workingDirectory|occurrence=1, historyRecordFixtures.test|title=mapSessionEventsToHistoryRecords cd-prefix rewriting strips redundant bash cd prefix matching workingDirectory|occurrence=1 — Ancestor (broader)
Introduced tests:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/historyRecordFixtures.test|title=mapSessionEventsToHistoryRecords cd-prefix rewriting handles trailing slash on workingDirectory|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/historyRecordFixtures.test|title=mapSessionEventsToHistoryRecords cd-prefix rewriting strips redundant bash cd prefix matching workingDirectory|occurrence=1
- historyRecordFixtures.test|title=mapSessionEventsToHistoryRecords cd-prefix rewriting leaves command unchanged when cd dir does not match|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotToolDisplay.test|title=getPermissionDisplay — cd-prefix stripping strips redundant cd from custom-tool shell permission request|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotToolDisplay.test|title=getPermissionDisplay — cd-prefix stripping leaves shell command alone when cd target differs from working directory|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotToolDisplay.test|title=getPermissionDisplay — cd-prefix stripping strips redundant cd from shell permission request fullCommandText|occurrence=1 — Ancestor (broader) Introduced tests:
-
commandLineHelpers.test|title=stripRedundantCdPrefix rewrites bash command tolerating trailing slash|occurrence=1, commandLineHelpers.test|title=stripRedundantCdPrefix rewrites bash command when cd matches working directory|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/common/commandLineHelpers.test|title=stripRedundantCdPrefix rewrites bash command tolerating trailing slash|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/common/commandLineHelpers.test|title=stripRedundantCdPrefix rewrites bash command when cd matches working directory|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/common/commandLineHelpers.test|title=stripRedundantCdPrefix rewrites multi-line bash command with newline separator|occurrence=1
- commandLineHelpers.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
- commandLineHelpers.test|title=extractCdPrefix bash: quoted dir|occurrence=1 — Ancestor (broader) Introduced tests:
- commandLineHelpers.ts ×2 — Descendant (narrower) Introduced files:
- commandLineHelpers.ts ×1 — Descendant (narrower) Introduced files:
- commandLineHelpers.ts ×2 — Descendant (narrower) Introduced files:
-
commandLineHelpers.test|title=stripRedundantCdPrefix matches backslash extracted dir against backslash native wd on Windows|occurrence=1, commandLineHelpers.test|title=stripRedundantCdPrefix matches mixed path separators (forward-slash extracted vs native fsPath wd)|occurrence=1 — Descendant (narrower)
Introduced tests:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/common/commandLineHelpers.test|title=stripRedundantCdPrefix matches backslash extracted dir against backslash native wd on Windows|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/common/commandLineHelpers.test|title=stripRedundantCdPrefix matches mixed path separators (forward-slash extracted vs native fsPath wd)|occurrence=1
- commandLineHelpers.ts ×3 — Descendant (narrower) Introduced files:
- resources.ts ×23 — Descendant (narrower) Introduced files:
- network.ts ×20 — Descendant (narrower) Introduced files:
- strings.test|title=Strings trimWhitespace|occurrence=1 — Descendant (narrower) Introduced tests:
- extpath.ts ×17 — Descendant (narrower) Introduced files:
- strings.ts ×101 — Descendant (narrower) Introduced files:
- cancellation.test|title=CancellationToken None|occurrence=1 — Descendant (narrower) Introduced tests:
- cancellation.ts ×18 — Descendant (narrower) Introduced files:
- event.ts ×93 — Descendant (narrower) Introduced files:
- uri.ts ×3 — Descendant (narrower) Introduced files:
- uri.ts ×3 — Descendant (narrower) Introduced files:
- uri.ts ×2 — Descendant (narrower) Introduced files:
- uri.ts ×3 — Descendant (narrower) Introduced files:
-
uri.test|title=URI URI#file, win-speciale|occurrence=1, charCode.test|title=CharCode has good values|occurrence=1, +2 — Descendant (narrower)
Introduced tests:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/charCode.test|title=CharCode has good values|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/path.test|title=Paths (Node Implementation) path|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/uri.test|title=URI File paths containing apostrophes break URI parsing and cannot be opened #276075|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/uri.test|title=URI URI#file, win-speciale|occurrence=1
- uri.ts ×2 — Descendant (narrower) Introduced files:
- utils.ts ×3 — Descendant (narrower) Introduced files:
- uri.ts ×1 — Descendant (narrower) Introduced files:
- uri.ts ×9 — Descendant (narrower) Introduced files:
- linkedList.ts ×13 — Descendant (narrower) Introduced files:
- lifecycle.ts ×2 — Descendant (narrower) Introduced files:
- lifecycle.ts ×1 — Descendant (narrower) Introduced files:
- lifecycle.ts ×4 — Descendant (narrower) Introduced files:
- lifecycle.ts ×6 — Descendant (narrower) Introduced files:
- lazy.ts ×1 — Descendant (narrower) Introduced files:
- lazy.ts ×3 — Descendant (narrower) Introduced files:
- lifecycle.ts ×1 — Descendant (narrower) Introduced files:
- lifecycle.ts ×1 — Descendant (narrower) Introduced files:
- uint.ts ×2 — Descendant (narrower) Introduced files:
- lifecycle.ts ×1 — Descendant (narrower) Introduced files:
-
map.ts ×97 — Descendant (narrower)
Introduced files:
- src/vs/base/common/arrays.ts
- src/vs/base/common/arraysFind.ts
- src/vs/base/common/assert.ts
- src/vs/base/common/charCode.ts
- src/vs/base/common/collections.ts
- src/vs/base/common/errors.ts
- src/vs/base/common/functional.ts
- src/vs/base/common/iterator.ts
- src/vs/base/common/lifecycle.ts
- src/vs/base/common/map.ts
- src/vs/base/common/marshallingIds.ts
- src/vs/base/common/path.ts
- src/vs/base/common/platform.ts
- src/vs/base/common/process.ts
- src/vs/base/common/types.ts
- src/vs/base/common/uri.ts
- src/vs/base/test/common/utils.ts
- src/vs/nls.ts
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
5 tests introduced at this concept.
commandLineHelpers.test|title=extractCdPrefix bash: && separator multi-line suffix|occurrence=1commandLineHelpers.test|title=extractCdPrefix bash: extra spaces after &&|occurrence=1commandLineHelpers.test|title=extractCdPrefix bash: newline separator multi-line suffix|occurrence=1commandLineHelpers.test|title=extractCdPrefix bash: newline separator|occurrence=1commandLineHelpers.test|title=extractCdPrefix bash: simple cd|occurrence=1
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
No code is introduced at this concept. Its 818 extent ranges are introduced by other concepts.