}
for (i = path.length - 1; i >= 0; --i) {
// If we reached a path separator that was not part of a set of path
// separators at the end of the string, stop now
Frontier kind: Code frontier
unlabeled · c_8ee1ef80b5e6
2143 tests · 3374 LOC · 18 files · introduces 0 tests · 9 LOC · 1 file
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.
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.
Every exact file and test below is linked only from the concept that introduces it.
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/api/test/node/extHostSearch.test|title=ExtHostSearch Text: basic results|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/api/test/node/extHostSearch.test|title=ExtHostSearch Text: provider returns early with limitHit|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/terminal/test/node/terminalEnvironment.test|title=platform - terminalEnvironment getShellIntegrationInjection zsh should override args should incorporate global ZDOTDIR env variable when custom ZDOTDIR|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/terminal/test/node/terminalEnvironment.test|title=platform - terminalEnvironment getShellIntegrationInjection zsh should override args should incorporate global ZDOTDIR env variable when undefined|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/terminal/test/node/terminalEnvironment.test|title=platform - terminalEnvironment getShellIntegrationInjection zsh should override args when undefined, []|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/terminal/test/node/terminalEnvironment.test|title=platform - terminalEnvironment getShellIntegrationInjection bash forceShellIntegration should inject when isFeatureTerminal is true but forceShellIntegration overrides it|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/terminal/test/node/terminalEnvironment.test|title=platform - terminalEnvironment getShellIntegrationInjection bash should override args when undefined, [], empty string|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/editor/test/common/services/languagesAssociations.test|title=LanguagesAssociations Specificity priority 1|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/editor/test/common/services/languagesAssociations.test|title=LanguagesAssociations Specificity priority 2|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/hookClaudeCompat.test|title=HookSourceFormat getHookSourceFormat returns Copilot format for .github/hooks/hooks.json|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/hookClaudeCompat.test|title=HookSourceFormat getHookSourceFormat returns Copilot format for arbitrary .json file|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/hookClaudeCompat.test|title=HookSourceFormat getHookSourceFormat returns Copilot format for settings.json not inside .claude|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/hookClaudeCompat.test|title=HookSourceFormat getHookSourceFormat detects Claude format for .claude/settings.json|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/hookClaudeCompat.test|title=HookSourceFormat getHookSourceFormat detects Claude format for .claude/settings.local.json|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/hookClaudeCompat.test|title=HookSourceFormat getHookSourceFormat detects Claude format for ~/.claude/settings.json|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/externalTerminal/test/node/externalTerminalService.test|title=ExternalTerminalService LinuxTerminalService - Ghostty should be spawned with working directory|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/externalTerminal/test/node/externalTerminalService.test|title=ExternalTerminalService LinuxTerminalService - uses terminal from configuration|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/promptFileLocations.test|title=promptFileLocations getCleanPromptName removes .md extension for files in .claude/agents/|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/promptFileLocations.test|title=promptFileLocations getCleanPromptName removes .md extension for files in .github/agents/|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/promptFileLocations.test|title=promptFileLocations getCleanPromptName removes .agent.md extension|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/promptFileLocations.test|title=promptFileLocations getCleanPromptName removes .chatmode.md extension (legacy)|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/promptFileLocations.test|title=promptFileLocations getCleanPromptName removes .instructions.md extension|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/promptFileLocations.test|title=promptFileLocations getCleanPromptName removes .prompt.md extension|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotGitProject.test|title=Copilot Git Project resolves a repository project from a worktree working directory|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotGitProject.test|title=Copilot Git Project resolves the repository itself for a normal git working directory|occurrence=1Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 9 introduced LOC across 3 ranges. Expand a file to inspect source; the > gutter marks introduced lines.
}
for (i = path.length - 1; i >= 0; --i) {
// If we reached a path separator that was not part of a set of path
// separators at the end of the string, stop now
break;
}
// We saw the first non-path separator, mark this as the end of our
// path component
matchedSlash = false;
end = i + 1;
}
}
if (end === -1) {
return '';
}
},