module Agate::Settings

Overview

Ergonomic wrapper for global libgit2 settings. Usage: Settings["search_path_global"] = "/path"

Defined in:

agate/common.cr

Constant Summary

KEYS = {"search_path_global" => {Opts::GetSearchPath, Opts::SetSearchPath, 3}, "search_path_xdg" => {Opts::GetSearchPath, Opts::SetSearchPath, 2}, "search_path_system" => {Opts::GetSearchPath, Opts::SetSearchPath, 1}}

Class Method Summary

Class Method Detail

def self.[](key : String) : String #

[View source]
def self.[]=(key : String, value : String) : Nil #

[View source]