Skip to content

Commit f505960

Browse files
committed
Cleanup
1 parent 2656c0f commit f505960

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

src/NexusMods.Abstractions.Loadouts.Synchronizers/ALoadoutSynchronizer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1163,7 +1163,7 @@ private bool ActionIngestFromDisk(Dictionary<GamePath, SyncNode> syncTree, Loado
11631163
return loadout;
11641164
}
11651165

1166-
public async Task<GameInstallMetadata.ReadOnly> RescanFiles(GameInstallation gameInstallation, bool ignoreModifiedDates)
1166+
public async Task<GameInstallMetadata.ReadOnly> RescanFiles(GameInstallation gameInstallation)
11671167
{
11681168
// Make sure the file hashes are up to date
11691169
await _fileHashService.GetFileHashesDb();

src/NexusMods.Abstractions.Loadouts.Synchronizers/ILoadoutSynchronizer.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,7 @@ public interface ILoadoutSynchronizer
5454
/// whatever is on disk.
5555
/// </summary>
5656
/// <param name="gameInstallation">The game installation to rescan.</param>
57-
/// <param name="ignoreModifiedDate">
58-
/// If false, files that have unchanged modified date since the last scan will be skipped.
59-
/// If true, all files will be rehashed.
60-
/// </param>
61-
Task<GameInstallMetadata.ReadOnly> RescanFiles(GameInstallation gameInstallation, bool ignoreModifiedDate = false);
57+
Task<GameInstallMetadata.ReadOnly> RescanFiles(GameInstallation gameInstallation);
6258

6359
/// <summary>
6460
/// Get the disk state for a game as of a specific transaction.

src/NexusMods.DataModel/CommandLine/Verbs/LoadoutManagementVerbs.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,10 @@ private static async Task<int> Reindex([Injected] IRenderer renderer,
147147
{
148148
await renderer.Text("Reindexing {0}", loadout.Name);
149149
var synchronizer = loadout.InstallationInstance.GetGame().Synchronizer;
150-
await synchronizer.RescanFiles(loadout.InstallationInstance, true);
150+
await synchronizer.RescanFiles(loadout.InstallationInstance);
151151
return 0;
152152
}
153153

154-
155154
[Verb("loadouts list", "Lists all the loadouts")]
156155
private static async Task<int> ListLoadouts([Injected] IRenderer renderer,
157156
[Injected] IConnection conn,

0 commit comments

Comments
 (0)