class ThunderstorePackageDownloader::Version

Defined in:

thunderstore_downloader/get_thunderstore_file_hash.cr

Constructors

Instance Method Summary

Constructor Detail

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

zipped_dir_path is the path where the zipped folder will be saved and will be utilized by wget command unzipped_dir_path is the path there the unzipped folder will be stored and will be utilized by the unzip command and get_file_hash method


[View source]

Instance Method Detail

def delete_files #

[View source]
def download_command #

[View source]
def download_url : String #

[View source]
def download_url=(download_url : String) #

[View source]
def get_file_hash_command #

[View source]
def get_thunderstore_file_hash #

[View source]
def mod_version #

[View source]
def mod_version_unzipped #

[View source]
def mod_version_zipped #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def unzip_command #

[View source]
def unzipped_dir_path : String #

[View source]
def unzipped_dir_path=(unzipped_dir_path : String) #

[View source]
def version_number : String #

[View source]
def version_number=(version_number : String) #

[View source]
def zipped_dir_path : String #

[View source]
def zipped_dir_path=(zipped_dir_path : String) #

[View source]