using Chronos.Core.Model; using Chronos.Data.Jobs; namespace Chronos.Data.Workspaces; /// /// (phase 5c, ): the workspace folder moved with its /// projects, after the plan the user confirmed (its fingerprint checked again): journaled in <from>/.move.json, /// moved per project on one volume, copied and hash-verified on both sides across volumes, a project's source deleted only /// once every file of it is verified, resumable from the journal; at the end is told. /// On failure the source stays the workspace and unverified partial copies are removed. /// internal sealed class WorkspaceMoveJobHandler(ChronosDatabase db, WorkspaceJobOptions options) : IJobHandler { public JobKind Kind => JobKind.WorkspaceMove; public Task RunAsync(JobContext context) { ArgumentNullException.ThrowIfNull(context); _ = (db, options); throw new NotImplementedException("Moving the workspace folder comes with phase 5c (P6)."); } }