public Version[] getVersions(String user) throws IOException {
		synchronized (fileSystem) {
			validate();
			repository.validateReadPrivilege(user);
			return databaseItem.getVersions();
		}
	}
Returns all available versions.
@param user user who initiated the request
@return all available versions
@throws UserAccessException if user is denied access
@throws IOException if an IO error occurs
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/store/RepositoryFile.java