/// <summary>Gets log messages of the specified target</summary> public bool GetLog(Uri target, out Collection <SvnLogEventArgs> logItems) { if (target == null) { throw new ArgumentNullException(nameof(target)); } var results = new InfoItemCollection <SvnLogEventArgs>(); try { return(Log(target, results.Handler)); } finally { logItems = results; } }
/// <summary>Gets a list of directory entries in the repository. (<c>svn list</c>)</summary> public bool GetList(SvnTarget target, out Collection <SvnListEventArgs> list) { if (target == null) { throw new ArgumentNullException(nameof(target)); } var results = new InfoItemCollection <SvnListEventArgs>(); try { return(List(target, new SvnListArgs(), results.Handler)); } finally { list = results; } }
/// <summary>Gets information about the specified target</summary> public bool GetInfo(SvnTarget target, out SvnInfoEventArgs info) { if (target == null) { throw new ArgumentNullException(nameof(target)); } var results = new InfoItemCollection <SvnInfoEventArgs>(); try { return(Info(target, new SvnInfoArgs(), results.Handler)); } finally { info = results.Count > 0 ? results[0] : null; } }
/// <summary>Recursively gets a list of 'interesting' status data for the specified path</summary> public bool GetStatus(string path, out Collection <SvnStatusEventArgs> statuses) { if (string.IsNullOrEmpty(path)) { throw new ArgumentNullException(nameof(path)); } var results = new InfoItemCollection <SvnStatusEventArgs>(); try { return(Status(path, new SvnStatusArgs(), results.Handler)); } finally { statuses = results; } }
/// <summary>Gets information about the specified target</summary> public bool GetInfo(SvnTarget target, SvnInfoArgs args, out Collection <SvnInfoEventArgs> info) { if (target == null) { throw new ArgumentNullException(nameof(target)); } if (args == null) { throw new ArgumentNullException(nameof(args)); } var results = new InfoItemCollection <SvnInfoEventArgs>(); try { return(Info(target, args, results.Handler)); } finally { info = results; } }