Cut over the window to Explorer.Host.exe so only the host writes the index.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -109,12 +109,14 @@ public class FolderSyncServiceTests
|
||||
store,
|
||||
volumes,
|
||||
NullLogger<TransferQueue>.Instance);
|
||||
var mutations = new LocalIndexMutations(store);
|
||||
var ops = new FileOperationService(queue, shell, enumerator);
|
||||
var env = new SyncEnv(root);
|
||||
var sources = new SourceManager(store, volumes, env, new SystemClock(), NullLogger<SourceManager>.Instance);
|
||||
var sync = new FolderSyncService(
|
||||
new FolderSyncPlanner(),
|
||||
store,
|
||||
mutations,
|
||||
sources,
|
||||
ops,
|
||||
volumes,
|
||||
|
||||
@@ -107,10 +107,12 @@ public class OperationProfileServiceTests
|
||||
var ops = new FileOperationService(queue, shell, enumerator);
|
||||
var git = new StubGit();
|
||||
var planner = new FileOperationProfilePlanner(new RenamePlanner());
|
||||
var renames = new RenameBatchService(new RenamePlanner(), store, ops);
|
||||
var mutations = new LocalIndexMutations(store);
|
||||
var renames = new RenameBatchService(new RenamePlanner(), store, mutations, ops);
|
||||
var profiles = new OperationProfileService(
|
||||
planner,
|
||||
store,
|
||||
mutations,
|
||||
ops,
|
||||
renames,
|
||||
volumes,
|
||||
|
||||
@@ -316,7 +316,7 @@ public class TransferQueueTests
|
||||
{
|
||||
await using var ctx = await Harness.CreateAsync();
|
||||
var ops = new FileOperationService(ctx.Queue, ctx.Shell, new DiskEnum());
|
||||
var batches = new RenameBatchService(new RenamePlanner(), ctx.Store, ops);
|
||||
var batches = new RenameBatchService(new RenamePlanner(), ctx.Store, new LocalIndexMutations(ctx.Store), ops);
|
||||
await ctx.Queue.StartAsync(CancellationToken.None);
|
||||
var subjects = new[]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user