class Shards::HgResolver
- Shards::HgResolver
- Shards::Resolver
- Reference
- Object
Defined in:
resolvers/hg.crClass Method Summary
Instance Method Summary
- #available_releases : Array(Version)
- #commit_sha1_at(ref : HgRef)
- #hg_url
- #install_sources(version : Version, install_path : String)
- #latest_version_for_ref(ref : HgRef | Nil) : Version
- #local_path
- #matches_ref?(ref : HgRef, version : Version)
- #parse_requirement(params : Hash(String, String)) : Requirement
- #read_spec(version : Version) : String | Nil
- #report_version(version : Version) : String
- #update_local_cache
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.normalize_key_source(key : String, source : String) : Tuple(String, String)
#