Frage

Do you know about any implementation of git:// protocol for Apache Commons VFS in Java?

Of course Git isn't among officially supported file systems, see http://commons.apache.org/proper/commons-vfs/filesystems.html — but I can't believe there is no impl at all. Tried to google it and found nothing usable.

Since Git can generally be seen as file system with VCS features on top of it, I guess it shouldn't be that hard to create an VFS module. Or am I wrong?

War es hilfreich?

Lösung

 https://mvnrepository.com/artifact/org.uberfire/vfs-jgit

Actually, the uberfire has a implementation of jgit virtual file system, it doesn't release for long time, although it works for redhat jbpm kie server:

 https://github.com/kiegroup/appformer

Andere Tipps

https://github.com/mmounirou/commons-vfs-git appears to be a commons-vfs implementation using jgit.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top