class ThunderstorePackageDownloader::FileHash

Defined in:

thunderstore_downloader/file_hash.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(path : String) #

[View source]

Instance Method Detail

def build_path #

builds the path from the top-most folders of the tree to the innermost folders. after the folder path is built, it checks the files inside a directory and appends the name of the file to the directory path to return a complete file path.


[View source]
def get_file_hash #

returns an object that contains the a list of files in the servers and their respectives SHA256 hashes.


[View source]