From efb613beb826bd27b8296c75d61993bdbdcc0bb5 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 1 Oct 2022 14:58:04 -0500 Subject: move init to ShareService --- src/slskd/Shares/IShareService.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/slskd/Shares/IShareService.cs') diff --git a/src/slskd/Shares/IShareService.cs b/src/slskd/Shares/IShareService.cs index 429ab529..2a18f5b3 100644 --- a/src/slskd/Shares/IShareService.cs +++ b/src/slskd/Shares/IShareService.cs @@ -90,9 +90,10 @@ namespace slskd.Shares bool TryCancelScan(); /// - /// Attempt to load shares from disk. + /// Initializes the service and shares. /// - /// A value indicating whether shares were loaded. - bool TryLoadFromDisk(); + /// A value indicating whether a full re-scan of shares should be performed. + /// The operation context. + Task InitializeAsync(bool forceRescan = false); } } \ No newline at end of file -- cgit v1.2.3