public static bool HasProperty(FilePath svnExecutableFilePath, AbsolutePath path, string propertyName, ILogger logger) { logger.LogDebug($"Testing existence of SVN property {propertyName} for {path}..."); var properties = SvnCommandServicesProvider.ListProperties(svnExecutableFilePath, path, logger); var hasProperty = properties.Contains(propertyName); logger.LogInformation($"Tested existence of SVN property {propertyName} for {path}."); return(hasProperty); }
public static string[] ListProperties(this SvnCommand svnCommand, AbsolutePath path) { var output = SvnCommandServicesProvider.ListProperties(svnCommand.SvnExecutableFilePath, path, svnCommand.Logger); return(output); }