MCPcopy Index your code
hub / github.com/conwnet/github1s / commandDiffViewOpenLeftFile

Function commandDiffViewOpenLeftFile

extensions/github1s/src/commands/editor.ts:58–61  ·  view source on GitHub ↗
(fileUri: vscode.Uri)

Source from the content-addressed store, hash-verified

56
57// open the left file in the diff editor title
58const commandDiffViewOpenLeftFile = async (fileUri: vscode.Uri) => {
59 const query = queryString.parse(fileUri?.query || '');
60 return query.base ? openFileToEditor(vscode.Uri.parse(query.base as string)) : null;
61};
62
63// open the right file in the diff editor title
64const commandDiffViewOpenRightFile = async (fileUri: vscode.Uri) => {

Callers

nothing calls this directly

Calls 1

openFileToEditorFunction · 0.85

Tested by

no test coverage detected