diff options
| author | JP Dillingham <jp@dillingham.me> | 2024-06-02 11:10:37 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2024-06-02 11:10:37 -0500 |
| commit | bd6ed779fb1de4f1388b40bf819907291d78d367 (patch) | |
| tree | 654d643a003a13107f1e72da121f9273726f2bdb /src/slskd/Shares | |
| parent | d116c0edfb56ddc3483eefaeb8cf9dd97573775d (diff) | |
| download | slskd-bd6ed779fb1de4f1388b40bf819907291d78d367.tar.gz | |
fix typos
Diffstat (limited to 'src/slskd/Shares')
| -rw-r--r-- | src/slskd/Shares/IShareRepository.cs | 2 | ||||
| -rw-r--r-- | src/slskd/Shares/ShareService.cs | 4 | ||||
| -rw-r--r-- | src/slskd/Shares/SoulseekFileFactory.cs | 2 | ||||
| -rw-r--r-- | src/slskd/Shares/SqliteShareRepository.cs | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/slskd/Shares/IShareRepository.cs b/src/slskd/Shares/IShareRepository.cs index c721fa40..1ccfeb22 100644 --- a/src/slskd/Shares/IShareRepository.cs +++ b/src/slskd/Shares/IShareRepository.cs @@ -87,7 +87,7 @@ namespace slskd.Shares Scan FindLatestScan(); /// <summary> - /// Flags the latest scan as suspect, indicating that the cached contents may have divered from physical storage. + /// Flags the latest scan as suspect, indicating that the cached contents may have diverged from physical storage. /// </summary> void FlagLatestScanAsSuspect(); diff --git a/src/slskd/Shares/ShareService.cs b/src/slskd/Shares/ShareService.cs index 4f409705..6e6ff471 100644 --- a/src/slskd/Shares/ShareService.cs +++ b/src/slskd/Shares/ShareService.cs @@ -486,7 +486,7 @@ namespace slskd.Shares ComputeShareStatistics(); Log.Debug("Share statistics updated"); - // one of several thigns happened above before we got here: + // one of several things happened above before we got here: // this method was called with forceRescan = true // the storage mode is memory, and we loaded the in-memory db from a valid backup // the storage mode is disk, and the file is there and valid @@ -510,7 +510,7 @@ namespace slskd.Shares if (!forceRescan) { - Log.Warning("Re-attempting initializtion"); + Log.Warning("Re-attempting initialization"); await InitializeAsync(forceRescan: true); } else diff --git a/src/slskd/Shares/SoulseekFileFactory.cs b/src/slskd/Shares/SoulseekFileFactory.cs index 9a023ee5..0917a5c9 100644 --- a/src/slskd/Shares/SoulseekFileFactory.cs +++ b/src/slskd/Shares/SoulseekFileFactory.cs @@ -72,7 +72,7 @@ namespace slskd.Shares { file = TagLib.File.Create(filename, TagLib.ReadStyle.Average | TagLib.ReadStyle.PictureLazy); - // try to mimick the behavior of existing clients by providing attributes selectively and in a specific order, + // try to mimic the behavior of existing clients by providing attributes selectively and in a specific order, // depending on whether files use a lossless or lossy codec. lossless files should have BitsPerSample, while lossy // will not. this may not be the best way to determine this. bool isLossless = file.Properties.BitsPerSample > 0; diff --git a/src/slskd/Shares/SqliteShareRepository.cs b/src/slskd/Shares/SqliteShareRepository.cs index 029d74b8..4951467c 100644 --- a/src/slskd/Shares/SqliteShareRepository.cs +++ b/src/slskd/Shares/SqliteShareRepository.cs @@ -178,7 +178,7 @@ namespace slskd.Shares } /// <summary> - /// Diposes this object. + /// Disposes this object. /// </summary> public void Dispose() { @@ -258,7 +258,7 @@ namespace slskd.Shares } /// <summary> - /// Flags the latest scan as suspect, indicating that the cached contents may have divered from physical storage. + /// Flags the latest scan as suspect, indicating that the cached contents may have diverged from physical storage. /// </summary> public void FlagLatestScanAsSuspect() { |
