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?

有帮助吗?

解决方案

 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

其他提示

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top