Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
只是想知道,如何从给定标签中检索所有文件及其修订版。
我一直在查看 API 文档,但似乎找不到任何相关内容。我知道旧的 java 实现中有一个函数 .getFiles() 但现在可以使用的就是这个
任何意见,将不胜感激 !!
该方法IServer.getDepotFiles接受 Perforce 文件规范作为参数。您应该能够使用类似//...@label.
IServer.getDepotFiles
//...@label
http://www.perforce.com/perforce/doc.current/manuals/p4java-javadoc/com/perforce/p4java/server/IServer.html#getDepotFiles(java.util.List , boolean)