@Override
	public synchronized void addDirectoryTransform(String sourceDir, String targetDir) {
		validateDirectoryPath(sourceDir);
		validateDirectoryPath(targetDir);
		int txId = userData.startTransaction();
		try {
			userData.setStringProperty(USER_PATH_TRANSFORM_PREFIX + sourceDir, targetDir);
		}
		finally {
			userData.endTransaction(txId);
		}
		pathMap.put(sourceDir, targetDir);
	}
Throws an {@link IllegalArgumentException} if {@code directory} is not
a valid, normalized directory path (with forward slashes).
@param directory path to validate
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/sourcemap/UserDataPathTransformer.java