Question

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?

Was it helpful?

Solution

 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

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top