Class: Resource::Go Private

Inherits:
Resource show all
Defined in:
resource.rb

Overview

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

A resource containing a Go package.

Instance Attribute Summary

Attributes inherited from Resource

#checksum, #download_strategy, #livecheck, #name, #owner, #patches, #source_modified_time

Attributes inherited from Downloadable

#checksum, #mirrors, #url

Instance Method Summary collapse

Methods inherited from Resource

#apply_patches, #download_name, #escaped_name, #fetch, #fetch_patches, #files, #freeze, #initialize, #initialize_dup, #livecheckable?, #mirror, #patch, #prepare_patches, #sha256, #specs, #unpack, #url, #using, #version

Methods included from OnSystem::MacOSAndLinux

included

Methods inherited from Downloadable

#cached_download, #clear_cache, #download_name, #download_strategy, #downloaded?, #downloader, #fetch, #freeze, #initialize, #initialize_dup, #verify_download_integrity, #version

Methods included from Context

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

Constructor Details

This class inherits a constructor from Resource

Instance Method Details

#stage(target, &block) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.



261
262
263
# File 'resource.rb', line 261

def stage(target, &block)
  super(target/name, &block)
end