constructor(name: string) {
this.ctime = Date.now();
this.mtime = Date.now();
this.size = 0;
this.name = name;
}
}
Frontier kind: Code frontier
unlabeled · c_c61d844c420e
981 tests · 11947 LOC · 45 files · introduces 0 tests · 27 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/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects handleAction — session/turnStarted calls sendMessage on the agent|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects handleAction — session/turnStarted parses protocol attachment URI strings before passing them to the agent|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects handleAction — session/turnStarted passes protocol selection attachment range straight through to the agent|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects handleAction — session/turnStarted passes the dispatching client id to sendMessage|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects handleAction — chat/toolCallComplete routing forwards owning session + chat URI for an additional-chat completion|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects handleAction — chat/toolCallComplete routing forwards session + default chat URI for a default-chat completion|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/userDataSync/test/common/userDataSyncStoreService.test|title=UserDataSyncStoreService test read manifest for the first time|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/userDataSync/test/common/userDataSyncStoreService.test|title=UserDataSyncStoreService test read manifest for the second time when session is not yet created|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/lifecycle.test|title=Lifecycle Action bar has broken accessibility #100273|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/lifecycle.test|title=Lifecycle dispose disposable array|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/lifecycle.test|title=Lifecycle dispose disposables|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/lifecycle.test|title=Lifecycle dispose single disposable|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: 27 introduced LOC across 8 ranges. Expand a file to inspect source; the > gutter marks introduced lines.
constructor(name: string) {
this.ctime = Date.now();
this.mtime = Date.now();
this.size = 0;
this.name = name;
}
}
async writeFile(resource: URI, content: Uint8Array, opts: IFileWriteOptions): Promise<void> {
const parent = this._lookupParentDirectory(resource);
let entry = parent.entries.get(basename);
if (entry instanceof Directory) {
throw createFileSystemProviderError('file is directory', FileSystemProviderErrorCode.FileIsADirectory);
}
throw createFileSystemProviderError('file not found', FileSystemProviderErrorCode.FileNotFound);
}
throw createFileSystemProviderError('file exists already', FileSystemProviderErrorCode.FileExists);
}
entry = new File(basename);
parent.entries.set(basename, entry);
this._fireSoon({ type: FileChangeType.ADDED, resource });
}
entry.mtime = Date.now();
if (opts.append) {
entry.size += content.byteLength;
const oldData = entry.data ?? new Uint8Array(0);
newData.set(content, oldData.byteLength);
entry.data = newData;
entry.size = content.byteLength;
entry.data = content;
}
this._fireSoon({ type: FileChangeType.UPDATED, resource });
}
// file open/read/write/close
private _lookupParentDirectory(uri: URI): Directory {
return this._lookupAsDirectory(dirname, false);
}
// --- manage file events