struct DPPM::Prefix::Src

Included Modules

Defined in:

prefix/src.cr

Instance Method Summary

Instance methods inherited from module DPPM::Prefix::Base

conf_path conf_path, config! : ::Config::Types config!, config? : ::Config::Types | Nil? config?, config_file! : Path config_file!, config_file? : Path | Nil? config_file?, database? : Database::MySQL | Nil? database?, deps_with_expr deps_with_expr, each_config_key(&block : String -> ) each_config_key, get_config(key : String)
get_config(key : String, &)
get_config
, get_config?(key : String) get_config?, libs_path libs_path, name : String name, path : Path path, pkg_file pkg_file, port_checker(host : String) : PortChecker port_checker, prefix : Prefix prefix, resolve_deps(dependencies : Hash(String, Array(SemanticVersion)) = Hash(String, Array(SemanticVersion)).new) : Hash(String, Array(SemanticVersion)) resolve_deps

Instance Method Detail

def each_config_key(&block : String -> ) #

[View source]
def get_config(key : String, &) #

Gets the config key. Yields the block if not found.


[View source]
def new_pkg(pkg_name : String, version : String?) : Pkg #

[View source]