SharpSvn - Lock file status

593 views Asked by At

i am using SharpSvn.dll for my own application. one of my goals is to lock file (i am using GetLock() function). however i did not found a way to know the file status - is it lock or not regards

1

There are 1 answers

0
Bert Huijben On

If you want to check if a file is locally locked you can use SvnClient.Status(). If you want to check it at the repository you can use SvnClient.List(), but there you have to pass .RetrieveLocks as True on the SvnListArgs instance.