Files
Aaru/Aaru.Archives/Ha/Ha.cs

33 lines
1.1 KiB
C#
Raw Normal View History

2025-09-06 19:03:12 +01:00
using System;
2025-09-08 01:04:54 +01:00
using System.Collections.Generic;
using System.IO;
2025-09-06 19:03:12 +01:00
using Aaru.CommonTypes.Interfaces;
namespace Aaru.Archives;
public sealed partial class Ha : IArchive
{
2025-09-08 01:04:54 +01:00
List<Entry> _entries;
Stream _stream;
2025-09-06 19:03:12 +01:00
#region IArchive Members
/// <inheritdoc />
public string Name => "HA";
/// <inheritdoc />
public Guid Id => new("2FB42964-82A0-4819-9C2D-CC2F24E35526");
2025-09-06 19:03:12 +01:00
/// <inheritdoc />
public string Author => Authors.NataliaPortillo;
/// <inheritdoc />
2025-09-08 01:04:54 +01:00
public bool Opened { get; private set; }
2025-09-06 19:03:12 +01:00
/// <inheritdoc />
public ArchiveSupportedFeature ArchiveFeatures => ArchiveSupportedFeature.HasEntryTimestamp |
ArchiveSupportedFeature.SupportsCompression |
ArchiveSupportedFeature.SupportsFilenames |
ArchiveSupportedFeature.SupportsSubdirectories |
ArchiveSupportedFeature.HasExplicitDirectories;
/// <inheritdoc />
2025-09-08 01:04:54 +01:00
public int NumberOfEntries => Opened ? _entries.Count : -1;
2025-09-06 19:03:12 +01:00
#endregion
}