How to check if a subversion url is a file or directory using sharpsvn

First of all, I'm sorry if you think this question is completely stupid.

I am working on an application in which a user can enter an SVN URL. It can be a directory or a file. I am using sharpsvn.

My goal is to somehow find out if this URL is a directory or a file.

For example: svn: //svnrepository/Directory/pascal.cs or svn: // svnrepository / DirectoryName

are valid. My job is to distinguish between the two and reveal the fact that the first file and the second is a directory.

Can this be done using sharpsvn?

Thanks and Regards Gagan

+3
source share
2 answers

, ,

svn info $path$

Node Type. t22 > , file.

, .

+4

:

, URL- svn .

hook SVNSharp " SVN SharpSVN?"

0

All Articles