class Shards::FossilResolver

Defined in:

resolvers/fossil.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from class Shards::Resolver

==(other : Resolver) ==, available_releases : Array(Version) available_releases, install_sources(version : Version, install_path : String) install_sources, latest_version_for_ref(ref : Ref | Nil) : Version latest_version_for_ref, matches_ref?(ref : Ref, version : Version) matches_ref?, name : String name, parse_requirement(params : Hash(String, String)) : Requirement parse_requirement, read_spec(version : Version) : String | Nil read_spec, report_version(version : Version) : String report_version, source : String source, spec(version : Version) : Spec spec, to_s(io : IO) to_s, update_local_cache update_local_cache, versions_for(req : Requirement) : Array(Version) versions_for, yaml_source_entry yaml_source_entry

Constructor methods inherited from class Shards::Resolver

new(name : String, source : String) new

Class methods inherited from class Shards::Resolver

build(key : String, name : String, source : String) build, clear_resolver_cache clear_resolver_cache, find_class(key : String) : Resolver.class | Nil find_class, find_resolver(key : String, name : String, source : String) find_resolver, normalize_key_source(key : String, source : String) normalize_key_source, register_resolver(key, resolver) register_resolver

Class Method Detail

def self.key #

[View source]
def self.normalize_key_source(key : String, source : String) : Tuple(String, String) #

[View source]

Instance Method Detail

def available_releases : Array(Version) #

[View source]
def commit_sha1_at(ref : FossilRef) #

[View source]
def fossil_url #

[View source]
def install_sources(version : Version, install_path : String) #

[View source]
def latest_version_for_ref(ref : FossilRef | Nil) : Version #

[View source]
def local_fossil_file #

[View source]
def local_path #

[View source]
def matches_ref?(ref : FossilRef, version : Version) #

[View source]
def parse_requirement(params : Hash(String, String)) : Requirement #

[View source]
def read_spec(version : Version) : String | Nil #

[View source]
def report_version(version : Version) : String #

[View source]
def update_local_cache #

[View source]