Ejemplo n.º 1
0
 /// <summary>
 /// Commits the changes.
 /// </summary>
 /// <param name="target">The target.</param>
 /// <returns>A <see cref="ChangeSet"/> containing the committed changes.</returns>
 public static ChangeSet CommitChanges(this ITracksChanges target)
 {
     return(target.GetChangeSet(ChangePath.Empty, commit: true));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Commits the changes.
 /// </summary>
 /// <param name="target">The target.</param>
 /// <param name="path">The path the change set represents.</param>
 /// <returns>A <see cref="ChangeSet"/> containing the committed changes.</returns>
 public static ChangeSet CommitChanges(this ITracksChanges target, ChangePath path)
 {
     return(target.GetChangeSet(path, commit: true));
 }