你知道 Java 中 Apache Commons VFS 的 git:// 协议的任何实现吗?
当然 Git 不在官方支持的文件系统中,请参阅http://commons.apache.org/proper/commons-vfs/filesystems.html — 但我不敢相信根本没有 impl。试图用谷歌搜索它并没有发现任何可用的东西。
由于 Git 通常可以被视为具有 VCS 功能的文件系统,因此我想创建 VFS 模块应该不难。还是我错了?
你知道 Java 中 Apache Commons VFS 的 git:// 协议的任何实现吗?
当然 Git 不在官方支持的文件系统中,请参阅http://commons.apache.org/proper/commons-vfs/filesystems.html — 但我不敢相信根本没有 impl。试图用谷歌搜索它并没有发现任何可用的东西。
由于 Git 通常可以被视为具有 VCS 功能的文件系统,因此我想创建 VFS 模块应该不难。还是我错了?
https://mvnrepository.com/artifact/org.uberfire/vfs-jgit
实际上,uberfire有一个jgit虚拟文件系统的实现,虽然它适用于redhat jbpm kie server,但它并没有发布很长时间:
https://github.com/kiegroup/appformer
https://github.com/mmounirou/commons-vfs-git似乎是使用 jgit 的 commons-vfs 实现。