refactor(uploader): drop members only tests used
Tests write serialized queue and watch-memory bytes directly; the app persists through its coalescing writer. Single-instance hand-over no longer returns an unused flag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
8 files changed
+8
-24
No files matched your search
@@ -2,7 +2,6 @@ using System.IO;
|
||||
using System.Text.Json.Serialization;
|
||||
using System.Text.Json;
|
||||
using Titano.Core.Diagnostics;
|
||||
using Titano.Core.IO;
|
||||
using Titano.Uploader.Sources;
|
||||
|
||||
namespace Titano.Uploader.Watching;
|
||||
@@ -106,8 +105,6 @@ public sealed class ProcessedFileMemory
|
||||
}
|
||||
}
|
||||
|
||||
public void Save(string path) => AtomicFile.WriteAllBytes(path, Serialize());
|
||||
|
||||
/// <summary>Loads <paramref name="path"/>; a missing or corrupt file gives an empty memory.</summary>
|
||||
public static ProcessedFileMemory Load(string path)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user