src/vs/workbench/contrib/mergeEditor/browser/model/mapping.ts/getOppositeDirection
export function getOppositeDirection(direction: MappingDirection): MappingDirection {
	return direction === MappingDirection.input ? MappingDirection.output : MappingDirection.input;
}