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
@@ -206,6 +206,23 @@ public virtual TreeDefinition Add(string targetTreeEntryPath, string filePath, M
206
206
returnAdd(targetTreeEntryPath,ted);
207
207
}
208
208
209
+
/// <summary>
210
+
/// Adds or replaces a <see cref="TreeEntryDefinition"/> from an existing blob specified by its Object ID at the specified <paramref name="targetTreeEntryPath"/> location.
211
+
/// </summary>
212
+
/// <param name="targetTreeEntryPath">The path within this <see cref="TreeDefinition"/>.</param>
213
+
/// <param name="id">The object ID for this entry.</param>
214
+
/// <param name="mode">The file related <see cref="Mode"/> attributes.</param>
215
+
/// <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