@Override
	public DatabaseItem createDatabase(String parentPath, String name, String fileID,
			BufferFile bufferFile, String comment, String contentType, boolean resetDatabaseId,
			TaskMonitor monitor, String user)
			throws InvalidNameException, IOException, CancelledException {

		ManagedBufferFile newFile = repository.createDatabase(parentPath, name,
			bufferFile.getBufferSize(), contentType, fileID, null);

		boolean success = false;
		try {
			newFile.setVersionComment(comment);
			LocalBufferFile.copyFile(bufferFile, newFile, null, monitor);
			long checkinId = newFile.getCheckinID();
			newFile.close();
			repository.terminateCheckout(parentPath, name, checkinId, false);
			success = true;
		}
		finally {
			if (!success) {
				newFile.delete();
			}
			newFile.dispose();
		}

		return (DatabaseItem) getItem(parentPath, name);
	}
Construct a new remote file system which corresponds to a remote repository.
@param repository remote Repository
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/remote/RemoteFileSystem.java