@Override
	public void setExternalPath(String externalName, String externalPath, boolean userDefined)
			throws InvalidInputException {

		if (Library.UNKNOWN.equals(externalName)) {
			Msg.warn(this, "Ignoring external library path for " + externalName);
			return;
		}

		validateExternalPath(externalPath);

		lock.acquire();
		try {
			LibrarySymbol s = symbolMgr.getLibrarySymbol(externalName);
			if (s == null) {
				try {
					addExternalName(externalName, externalPath,
						userDefined ? SourceType.USER_DEFINED : SourceType.IMPORTED);
				}
				catch (DuplicateNameException e) {
					throw new AssertException(e);
				}
			}
			else {
				s.setExternalLibraryPath(externalPath);
			}
		}
		finally {
			lock.release();
		}
	}
Removes the external location at the given external address
@param externalAddr the address at which to remove the external location.
@return true if external location was successfully removed else false
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/external/ExternalManagerDB.java