Explicitly set flag on archive types

This commit is contained in:
Matt Nadareski
2025-01-04 21:55:14 -05:00
parent c24fdfc534
commit acdc8d84b1

View File

@@ -24,13 +24,13 @@ namespace SabreTools.FileTypes
/// <summary> /// <summary>
/// Create a new Archive with no base file /// Create a new Archive with no base file
/// </summary> /// </summary>
public BaseArchive() : base() { } public BaseArchive() : base(writeToParent: false) { }
/// <summary> /// <summary>
/// Create a new BaseArchive from the given file /// Create a new BaseArchive from the given file
/// </summary> /// </summary>
/// <param name="filename">Name of the file to use</param> /// <param name="filename">Name of the file to use</param>
public BaseArchive(string filename) : base(filename) { } public BaseArchive(string filename) : base(filename, writeToParent: false) { }
#endregion #endregion