Make metadata conversion internal

This commit is contained in:
Matt Nadareski
2025-01-10 22:35:47 -05:00
parent 50f139ef75
commit 964c330c6f
2 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ namespace SabreTools.DatFiles
/// <param name="indexId">Index ID for the DAT</param> /// <param name="indexId">Index ID for the DAT</param>
/// <param name="keep">True if full pathnames are to be kept, false otherwise</param> /// <param name="keep">True if full pathnames are to be kept, false otherwise</param>
/// <param name="statsOnly">True to only add item statistics while parsing, false otherwise</param> /// <param name="statsOnly">True to only add item statistics while parsing, false otherwise</param>
public void ConvertFromMetadata(Models.Metadata.MetadataFile? item, string filename, int indexId, bool keep, bool statsOnly) internal void ConvertFromMetadata(Models.Metadata.MetadataFile? item, string filename, int indexId, bool keep, bool statsOnly)
{ {
// If the metadata file is invalid, we can't do anything // If the metadata file is invalid, we can't do anything
if (item == null || item.Count == 0) if (item == null || item.Count == 0)

View File

@@ -12,7 +12,7 @@ namespace SabreTools.DatFiles
/// <summary> /// <summary>
/// Convert metadata information /// Convert metadata information
/// </summary> /// </summary>
public Models.Metadata.MetadataFile? ConvertToMetadata(bool ignoreblanks = false) internal Models.Metadata.MetadataFile? ConvertToMetadata(bool ignoreblanks = false)
{ {
// If we don't have items, we can't do anything // If we don't have items, we can't do anything
if (Items.Count == 0) if (Items.Count == 0)
@@ -37,7 +37,7 @@ namespace SabreTools.DatFiles
/// <summary> /// <summary>
/// Convert metadata information /// Convert metadata information
/// </summary> /// </summary>
public Models.Metadata.MetadataFile? ConvertToMetadataDB(bool ignoreblanks = false) internal Models.Metadata.MetadataFile? ConvertToMetadataDB(bool ignoreblanks = false)
{ {
// If we don't have items, we can't do anything // If we don't have items, we can't do anything
if (ItemsDB.GetItems().Count == 0) if (ItemsDB.GetItems().Count == 0)