public CanCreateRemotePath ( |
||
localDirectory | Local directory. | |
return | bool |
public bool CanCreateRemotePath(DirectoryInfo localDirectory)
{
return this.CanCreateRemotePath(localDirectory.FullName);
}
PathMatcher::CanCreateRemotePath ( |
|
PathMatcher::CanCreateRemotePath ( string localPath ) : bool |
public void RootFolderMatchesItselfWithoutTrailingDenominator() { var matcher = new PathMatcher(Path.GetTempPath().TrimEnd(Path.DirectorySeparatorChar) + Path.DirectorySeparatorChar.ToString(), "/"); Assert.That(matcher.CanCreateRemotePath(Path.GetTempPath().TrimEnd(Path.DirectorySeparatorChar)), Is.True); }