struct Zap::Config

Overview

Global configuration for Zap

Included Modules

Defined in:

config.cr

Constructors

Instance Method Summary

Constructor methods inherited from module Zap::Utils::FromEnv

new(env : ::ENV.class = ENV, prefix : String | Nil = nil) new

Instance methods inherited from class Object

or(other : T) : T | self forall T or, pipe(&) pipe

Constructor Detail

def self.new(env : ::ENV.class = ENV, prefix : String | Nil = nil) #

[View source]
def self.new(**fields : **T) forall T #

[View source]

Instance Method Detail

def bin_path : String #

[View source]
def check_if_store_is_linkeable : Config #

[View source]
def concurrency : Int32 #

[View source]
def copy_for_inner_consumption : Config #

[View source]
def copy_with(**fields : **T) forall T #

[View source]
def deduce_global_prefix : String #

[View source]
def deferred_output : Bool #

[View source]
def file_backend : Backend::Backends #

[View source]
def filters : Array(Workspaces::Filter) | Nil #

[View source]
def flock_scope : FLockScope #

[View source]
def global : Bool #

[View source]
def infer_context : InferredContext #

[View source]
def lockfile_format : Lockfile::Format | Nil #

[View source]
def man_pages : String #

[View source]
def network_concurrency : Int32 #

[View source]
def no_workspaces : Bool #

[View source]
def node_modules : String #

[View source]
def nodejs_path? : String | Nil #

[View source]
def plug_and_play_modules : String #

[View source]
def pnp_runtime=(pnp_runtime : Path | Nil) #

[View source]
def pnp_runtime? : Path | Nil #

[View source]
def pnp_runtime_esm=(pnp_runtime_esm : Path | Nil) #

[View source]
def pnp_runtime_esm? : Path | Nil #

[View source]
def prefix : String #

[View source]
def recursive : Bool #

[View source]
def root_workspace : Bool #

[View source]
def silent : Bool #

[View source]
def store_path : String #

[View source]