This commit is contained in:
StellaOps Bot
2025-11-27 21:10:06 +02:00
parent cfa2274d31
commit 8abbf9574d
106 changed files with 7078 additions and 3197 deletions

View File

@@ -0,0 +1,32 @@
using System;
using System.IO;
namespace StellaOps.Scanner.Worker.Processing.Replay;
/// <summary>
/// Represents a fetched replay bundle mounted on the local filesystem.
/// </summary>
public sealed class ReplayBundleMount : IDisposable
{
public ReplayBundleMount(string bundlePath)
{
BundlePath = bundlePath ?? throw new ArgumentNullException(nameof(bundlePath));
}
public string BundlePath { get; }
public void Dispose()
{
try
{
if (File.Exists(BundlePath))
{
File.Delete(BundlePath);
}
}
catch
{
// best-effort cleanup
}
}
}