从 SharpSVN [c#] 中您可以从什么对象获得修改后的文件属性?

发布于 2024-09-07 03:52:57 字数 234 浏览 3 评论 0原文

我已经使用 SharpSVN 几个星期了,我希望像在 TurtoiseSVN 中一样访问单个文件属性(特定版本),方法是单击版本,然后右键单击路径并选择“显示属性” 。我已经查看了我假设这些属性将位于的位置(在 SvnChangeItem 下),因为它在那里是有意义的,因为在 Turtoise 中它基本上是一个向下钻取,但我一直无法找到它。目前我可以访问特定修订版中更改的项目,但无法找到该集合。我还检查了其他可能找到该收藏品的地方,但没有运气。谢谢。

I've been working with SharpSVN for a few weeks now and I was looking to access an individual files properties (at a specific revision) as you can in TurtoiseSVN by clicking on the revision then right clicking on a path and selecting 'Show Properties'. I have looked where I would assume these properties would be located (under a SvnChangeItem) because it would make sense there since in Turtoise its basically a drill down however I have not been able to find it. Currently I have access to the changed items at a specific revision but just cannot find this collection. I also checked other various places where this collection might be found but with no luck. Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一指流沙 2024-09-14 03:52:57

您可以通过 SvnClient.GetProperty 或 .ListProperties 访问这些。要获取它们的特定修订版,您应该创建一个 SvnUriTarget(, revision) 并将其作为第一个参数传递。

You can access these via SvnClient.GetProperty or .ListProperties. To get them for a specific revision you should create an SvnUriTarget(, revision) and pass that as the first argument.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文