src/vs/workbench/contrib/scm/browser/scmViewPane.ts/SCMViewPane/getSelectedResources
class SCMViewPane:	private getSelectedResources(): (ISCMResource | IResourceNode<ISCMResource, ISCMResourceGroup>)[] {
		return this.tree.getSelection()
			.filter(r => !!r && !isSCMResourceGroup(r))! as any;
	}