private static void commit(DataTypeManager sourceDTM, DataType refDT) {
		DataTypeManager refDTM = refDT.getDataTypeManager();
		int sourceTransactionID = sourceDTM.startTransaction("Commit Datatype Changes");
		int refTransactionID = refDTM.startTransaction("Update DataType Sync Time");
		try {
			commitAssumingTransactionsOpen(sourceDTM, refDT);
		}
		finally {
			refDTM.endTransaction(refTransactionID, true);
			sourceDTM.endTransaction(sourceTransactionID, true);
		}
	}
Creates a DataTypeSynchronizer to be used for synchronizing data types between a program
and an archive.
@param dataTypeManagerHandler the handler that manages all the open data type managers
whether built-in, program, project data type archive or file data type archive.
@param dataTypeManager the program data type manager.
@param source the data type source archive information indicating the associated archive for
synchronizing.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/DataTypeSynchronizer.java