/// <summary> /// Sets command flags to get an infinite-depth SVN status command that includes ignored items (does not respect svn:ignore and global ignore properties). /// </summary> public static IArgumentsBuilder GetStatusVerboseDepthInfinityNoIgnore(AbsolutePath path) { var argumentsBuilder = SvnCommandServicesProvider.GetStatusVerboseDepthInfinity(path) .AddFlagFull("no-ignore"); return(argumentsBuilder); }
/// <summary> /// Gets the status of a a directory, and all directory contents recursively. /// Note: this is the same as <see cref="StatusesDefault(SvnCommand, DirectoryPath)"/> since the default path depth options is infinity. /// </summary> public static SvnStringPathStatus[] StatusesInfinity(this SvnCommand svnCommand, DirectoryPath directoryPath) { svnCommand.Logger.LogDebug($"Getting all SVN status results for directory path {directoryPath}..."); var arguments = SvnCommandServicesProvider.GetStatusVerboseDepthInfinity(directoryPath); var statuses = SvnCommandServicesProvider.GetStatuses(svnCommand.SvnExecutableFilePath, arguments); svnCommand.Logger.LogInformation($"Got all SVN status results for directroy path {directoryPath} ({statuses.Count()} results)."); return(statuses); }