class DownloaderCLI

Defined in:

libs/cli.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(options : DownloaderOptions) #

[View source]

Instance Method Detail

def api_client #

[View source]
def check_downloader #

it isn't worth the effort to make this concurrent while it can shave off some execution time there's a race condition that makes this unreliable and most fibers get 0 processed checks because the checks are stupid fast


[View source]
def create_ranges #

[View source]
def create_workers #

[View source]
def download(client, range) #

[View source]
def download_dir #

[View source]
def main_downloader #

[View source]
def print_stats #

[View source]
def range_downloader #

[View source]
def range_hex(range) #

[View source]
def range_unhex(range) #

[View source]
def start #

[View source]
def worker_download(fid) #

[View source]
def write_etags #

[View source]