class PackageDownloader

Defined in:

models/package_downloader.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, version_number : String, download_url : String, download_path : String) #

[View source]

Instance Method Detail

def download #

downloads a folder and zips it upon storage


[View source]
def package_name #

appends the version number to the name of the package. this will be used both as a name for the package to be downloaded as a zip file and as the name of the package after unzipping


[View source]
def zipped_package #

compressess/zips a package


[View source]