Spec-Zone.ru › Homebrew

Класс: CurlApacheMirrorDownloadStrategy

Наследует:
CurlDownloadStrategy
  • Object
  • AbstractDownloadStrategy
  • AbstractFileDownloadStrategy
  • CurlDownloadStrategy
  • CurlApacheMirrorDownloadStrategy
показать все
Определён в:
download_strategy/curl_apache_mirror_download_strategy.rb

Обзор

Стратегия загрузки файла с URL-адреса зеркала Apache.

Краткое описание констант

Константы, унаследованные от CurlDownloadStrategy

CurlDownloadStrategy::URLMetadata

Краткое описание атрибутов экземпляра

Атрибуты, унаследованные от AbstractDownloadStrategy

#cache, #url

Краткое описание методов экземпляра свернуть

  • #mirrors ⇒ Array<String> приватный

Методы, унаследованные от CurlDownloadStrategy

#clear_cache, #fetch, #initialize, #resolved_time_file_size, #total_size

Методы, включённые из Utils::Curl

clear_path_cache, curl, curl_args, curl_check_http_content, curl_download, curl_executable, curl_headers, curl_http_content_headers_and_checksum, curl_output, curl_path, curl_response_follow_redirections, curl_response_last_location, curl_supports_fail_with_body?, curl_supports_tls13?, curl_version, curl_with_workarounds, http_status_ok?, insecure_redirect?, no_insecure_redirect_curl_args, parse_curl_output, parse_curl_response, url_protected_by_cloudflare?, url_protected_by_incapsula?

Методы, включённые из SystemCommand::Mixin

#system_command, #system_command!

Методы, включённые из Utils::Output::Mixin

#issue_reporting_message, #odebug, #odeprecated, #odie, #odisabled, #ofail, #oh1, #oh1_title, #ohai, #ohai_title, #onoe, #opoo, #opoo_outside_github_actions, #opoo_without_github_actions_annotation, #pretty_deprecated, #pretty_disabled, #pretty_duration, #pretty_install_status, #pretty_installed, #pretty_uninstalled, #pretty_upgradable, #pretty_warning

Методы, унаследованные от AbstractFileDownloadStrategy

#basename, #cached_location, #create_symlink_to_cached_download, #fetched_size, #symlink_location, #temporary_path

Методы, унаследованные от AbstractDownloadStrategy

#basename, #cached_location, #clear_cache, #fetch, #fetched_size, #initialize, #ohai, #quiet!, #quiet?, #source_modified_time, #source_revision, #stage, #total_size

Методы, включённые из Context

current, current=, #debug?, #quiet?, #verbose?, #with_context

Подробное описание конструкторов

Этот класс наследует конструктор от CurlDownloadStrategy

Подробное описание методов экземпляра

#mirrors ⇒ Array<String>

Этот метод является частью приватного API. Этот метод можно использовать только в репозитории Homebrew/brew. По возможности сторонним разработчикам следует избегать использования этого метода, поскольку он может быть удалён или изменён без предупреждения.

Возвращает:

  • (Array<String>)


9
10
11
# File 'download_strategy/curl_apache_mirror_download_strategy.rb', line 9

def mirrors
  combined_mirrors
end

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/CurlApacheMirrorDownloadStrategy.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API