class JGitFileSystemImpl implements JGitFileSystem {

    @Override
    public void setPublicURI(Map<String, String> fullHostNames) {
        if (fullHostNames != null && !fullHostNames.isEmpty()) {
            toStringContent = fullHostNames.entrySet()
                    .stream()
                    .map(e -> e.getKey() + "://" + e.getValue() + "/" + name)
                    .collect(Collectors.joining("\n"));
        } else {
            toStringContent = "git://" + name;
        }
    }

    public  JGitFileSystemImpl(final JGitFileSystemProvider provider,
                              final Map<String, String> fullHostNames,
                              final Git git,
                              final JGitFileSystemLock lock,
                              final String name,
                              final CredentialsProvider credential,
                              JGitFileSystemsEventsManager fsEventsManager,
                              Map<FileSystemHooks, ?> fsHooks);

}