src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.ts/DirtyDiffWorkbenchController/getModel
class DirtyDiffWorkbenchController:	getModel(editorModel: ITextModel): DirtyDiffModel | null {
		for (const [model, diff] of this.items) {
			if (model.textEditorModel.id === editorModel.id) {
				return diff.model;
			}
		}

		return null;
	}