@@ -51,7 +51,7 @@ private void AddEntry(string targetTreeEntryName, TreeEntryDefinition treeEntryD
5151 /// </summary>
5252 /// <param name="treeEntryPath">The path within this <see cref="TreeDefinition"/>.</param>
5353 /// <returns>The current <see cref="TreeDefinition"/>.</returns>
54- public TreeDefinition Remove ( string treeEntryPath )
54+ public virtual TreeDefinition Remove ( string treeEntryPath )
5555 {
5656 Ensure . ArgumentNotNullOrEmptyString ( treeEntryPath , "treeEntryPath" ) ;
5757
@@ -92,7 +92,7 @@ public TreeDefinition Remove(string treeEntryPath)
9292 /// <param name="targetTreeEntryPath">The path within this <see cref="TreeDefinition"/>.</param>
9393 /// <param name="treeEntryDefinition">The <see cref="TreeEntryDefinition"/> to be stored at the described location.</param>
9494 /// <returns>The current <see cref="TreeDefinition"/>.</returns>
95- public TreeDefinition Add ( string targetTreeEntryPath , TreeEntryDefinition treeEntryDefinition )
95+ public virtual TreeDefinition Add ( string targetTreeEntryPath , TreeEntryDefinition treeEntryDefinition )
9696 {
9797 Ensure . ArgumentNotNullOrEmptyString ( targetTreeEntryPath , "targetTreeEntryPath" ) ;
9898 Ensure . ArgumentNotNull ( treeEntryDefinition , "treeEntryDefinition" ) ;
@@ -132,7 +132,7 @@ public TreeDefinition Add(string targetTreeEntryPath, TreeEntryDefinition treeEn
132132 /// <param name="blob">The <see cref="Blob"/> to be stored at the described location.</param>
133133 /// <param name="mode">The file related <see cref="Mode"/> attributes.</param>
134134 /// <returns>The current <see cref="TreeDefinition"/>.</returns>
135- public TreeDefinition Add ( string targetTreeEntryPath , Blob blob , Mode mode )
135+ public virtual TreeDefinition Add ( string targetTreeEntryPath , Blob blob , Mode mode )
136136 {
137137 Ensure . ArgumentNotNull ( blob , "blob" ) ;
138138 Ensure . ArgumentConformsTo ( mode ,
@@ -151,7 +151,7 @@ public TreeDefinition Add(string targetTreeEntryPath, Blob blob, Mode mode)
151151 /// <see cref="Repository" /> is a standard, non-bare, repository. The path will then be considered as a path relative to the root of the working directory.</param>
152152 /// <param name="mode">The file related <see cref="Mode"/> attributes.</param>
153153 /// <returns>The current <see cref="TreeDefinition"/>.</returns>
154- public TreeDefinition Add ( string targetTreeEntryPath , string filePath , Mode mode )
154+ public virtual TreeDefinition Add ( string targetTreeEntryPath , string filePath , Mode mode )
155155 {
156156 Ensure . ArgumentNotNullOrEmptyString ( filePath , "filePath" ) ;
157157
@@ -166,7 +166,7 @@ public TreeDefinition Add(string targetTreeEntryPath, string filePath, Mode mode
166166 /// <param name="targetTreeEntryPath">The path within this <see cref="TreeDefinition"/>.</param>
167167 /// <param name="tree">The <see cref="Tree"/> to be stored at the described location.</param>
168168 /// <returns>The current <see cref="TreeDefinition"/>.</returns>
169- public TreeDefinition Add ( string targetTreeEntryPath , Tree tree )
169+ public virtual TreeDefinition Add ( string targetTreeEntryPath , Tree tree )
170170 {
171171 Ensure . ArgumentNotNull ( tree , "tree" ) ;
172172
@@ -281,7 +281,7 @@ private void WrapTree(string entryName, TreeEntryDefinition treeEntryDefinition)
281281 /// </summary>
282282 /// <param name="treeEntryPath">The path within this <see cref="TreeDefinition"/>.</param>
283283 /// <returns>The found <see cref="TreeEntryDefinition"/> if any; null otherwise.</returns>
284- public TreeEntryDefinition this [ string treeEntryPath ]
284+ public virtual TreeEntryDefinition this [ string treeEntryPath ]
285285 {
286286 get
287287 {
0 commit comments