Try to make method names clearer

This commit is contained in:
Matt Nadareski
2025-01-13 13:00:14 -05:00
parent 021c4debb7
commit ecf21a5bc0
2 changed files with 6 additions and 6 deletions

View File

@@ -74,10 +74,10 @@ namespace SabreTools.DatFiles
/// <summary> /// <summary>
/// Use cloneof tags to remove items from the children /// Use cloneof tags to remove items from the children
/// </summary> /// </summary>
public void RemoveItemsFromChild() public void RemoveItemsFromCloneOfChild()
{ {
RemoveItemsFromChildImpl(); RemoveItemsFromCloneOfChildImpl();
RemoveItemsFromChildImplDB(); RemoveItemsFromCloneOfChildImplDB();
} }
/// <summary> /// <summary>
@@ -1075,7 +1075,7 @@ namespace SabreTools.DatFiles
/// Applies to <see cref="Items"/>. /// Applies to <see cref="Items"/>.
/// Assumes items are bucketed by <see cref="ItemKey.Machine"/>. /// Assumes items are bucketed by <see cref="ItemKey.Machine"/>.
/// </remarks> /// </remarks>
private void RemoveItemsFromChildImpl() private void RemoveItemsFromCloneOfChildImpl()
{ {
List<string> buckets = [.. Items.Keys]; List<string> buckets = [.. Items.Keys];
buckets.Sort(); buckets.Sort();
@@ -1129,7 +1129,7 @@ namespace SabreTools.DatFiles
/// Applies to <see cref="ItemsDB"/>. /// Applies to <see cref="ItemsDB"/>.
/// Assumes items are bucketed by <see cref="ItemKey.Machine"/>. /// Assumes items are bucketed by <see cref="ItemKey.Machine"/>.
/// </remarks> /// </remarks>
private void RemoveItemsFromChildImplDB() private void RemoveItemsFromCloneOfChildImplDB()
{ {
List<string> buckets = [.. ItemsDB.SortedKeys]; List<string> buckets = [.. ItemsDB.SortedKeys];
foreach (string bucket in buckets) foreach (string bucket in buckets)

View File

@@ -213,7 +213,7 @@ namespace SabreTools.DatTools
datFile.BucketBy(ItemKey.Machine, DedupeType.None, norename: true); datFile.BucketBy(ItemKey.Machine, DedupeType.None, norename: true);
// Now we want to loop through all of the games and set the correct information // Now we want to loop through all of the games and set the correct information
datFile.RemoveItemsFromChild(); datFile.RemoveItemsFromCloneOfChild();
// Now that we have looped through the cloneof tags, we loop through the romof tags // Now that we have looped through the cloneof tags, we loop through the romof tags
datFile.RemoveBiosItemsFromChild(false); datFile.RemoveBiosItemsFromChild(false);