문제

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