You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: LibGit2Sharp/TreeDefinition.cs
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -201,6 +201,23 @@ public virtual TreeDefinition Add(string targetTreeEntryPath, string filePath, M
201
201
returnAdd(targetTreeEntryPath,ted);
202
202
}
203
203
204
+
/// <summary>
205
+
/// Adds or replaces a <see cref="TreeEntryDefinition"/> from an existing blob specified by its Object ID at the specified <paramref name="targetTreeEntryPath"/> location.
206
+
/// </summary>
207
+
/// <param name="targetTreeEntryPath">The path within this <see cref="TreeDefinition"/>.</param>
208
+
/// <param name="id">The object ID for this entry.</param>
209
+
/// <param name="mode">The file related <see cref="Mode"/> attributes.</param>
210
+
/// <returns>The current <see cref="TreeDefinition"/>.</returns>
/// Adds or replaces a <see cref="TreeEntryDefinition"/>, dynamically built from the provided <see cref="Tree"/>, at the specified <paramref name="targetTreeEntryPath"/> location.
0 commit comments