gpt4 book ai didi

c# - 在 SharpSvn 中,SvnClient.getinfo 的返回值是什么?

转载 作者:太空狗 更新时间:2023-10-30 00:25:42 25 4
gpt4 key购买 nike

在我发现的 SharpSvn 文档中 ( here ),SvnClient.getinfo 的返回值(boolean 类型)丢失了。有人可以帮忙吗?谢谢。

最佳答案

这是我得到的答案:

Usually all SvnClient methods return true on success and throw an error on failures. But if you change .ThrowOnError to false or cancel a command in its eventhandler then it will return false on an error/cancel. So if you are just using a simple call to .GetInfo without an SvnInfoArgs object with specific settings (or very specific handling on the SvnClient instance itself where you can also override the error handling) you can ignore the return value as it will always be true.

这要归功于一位名叫 Bert 的乐于助人的人,他向我发送了这封电子邮件。谢谢。

关于c# - 在 SharpSvn 中,SvnClient.getinfo 的返回值是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15917736/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com