Commit 59cc7b71 authored by Cristian Maglie's avatar Cristian Maglie

Fixed comments

parent ef268298
......@@ -100,7 +100,7 @@ func (pm *PackageManager) FindPlatformReleaseDependencies(item *PlatformReferenc
return release, toolDeps, nil
}
// DownloadToolRelease downloads a ToolRelease. If the tool is already downloaded a nil Response
// DownloadToolRelease downloads a ToolRelease. If the tool is already downloaded a nil Downloader
// is returned.
func (pm *PackageManager) DownloadToolRelease(tool *cores.ToolRelease) (*downloader.Downloader, error) {
resource := tool.GetCompatibleFlavour()
......@@ -111,7 +111,7 @@ func (pm *PackageManager) DownloadToolRelease(tool *cores.ToolRelease) (*downloa
}
// DownloadPlatformRelease downloads a PlatformRelease. If the platform is already downloaded a
// nil Response is returned.
// nil Downloader is returned.
func (pm *PackageManager) DownloadPlatformRelease(platform *cores.PlatformRelease) (*downloader.Downloader, error) {
return platform.Resource.Download(pm.DownloadDir)
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment