diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-11-02 21:46:21 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-11-02 21:46:21 -0500 |
| commit | 9d71d0751e128a46003c73dfed0060b7efd5787b (patch) | |
| tree | a3a1f75d092777c894365a9b7dce06626d97083d /src/slskd/Shares/IShareRepository.cs | |
| parent | 11fdf4f204af53b83b23626ba8afea4832a4111e (diff) | |
| download | slskd-9d71d0751e128a46003c73dfed0060b7efd5787b.tar.gz | |
rebuild filename index after scan
Diffstat (limited to 'src/slskd/Shares/IShareRepository.cs')
| -rw-r--r-- | src/slskd/Shares/IShareRepository.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slskd/Shares/IShareRepository.cs b/src/slskd/Shares/IShareRepository.cs index d8a57d65..c91366a5 100644 --- a/src/slskd/Shares/IShareRepository.cs +++ b/src/slskd/Shares/IShareRepository.cs @@ -134,6 +134,11 @@ namespace slskd.Shares long PruneFiles(long olderThanTimestamp); /// <summary> + /// Rebuilds the filename index table using the data in the files table. + /// </summary> + void RebuildFilenameIndex(); + + /// <summary> /// Restores the current database from the database at the specified <paramref name="repository"/>. /// </summary> /// <param name="repository">The destination repository.</param> |
