MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / CheckForUpdate

Method CheckForUpdate

src/Squirrel/UpdateManager.cs:52–58  ·  view source on GitHub ↗
(bool ignoreDeltaUpdates = false, Action<int> progress = null, UpdaterIntention intention = UpdaterIntention.Update)

Source from the content-addressed store, hash-verified

50 }
51
52 public async Task<UpdateInfo> CheckForUpdate(bool ignoreDeltaUpdates = false, Action<int> progress = null, UpdaterIntention intention = UpdaterIntention.Update)
53 {
54 var checkForUpdate = new CheckForUpdateImpl(rootAppDirectory);
55
56 await acquireUpdateLock();
57 return await checkForUpdate.CheckForUpdate(intention, Utility.LocalReleaseFileForAppDir(rootAppDirectory), updateUrlOrPath, ignoreDeltaUpdates, progress, urlDownloader);
58 }
59
60 public async Task DownloadReleases(IEnumerable<ReleaseEntry> releasesToDownload, Action<int> progress = null)
61 {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected