enum

Fluxion::GitConfigScope

Inherits Enum < Comparable < Value < Object

Where a git setting is written.

Constants

Global = 0
System = 1
Local = 2

Class methods

from_config?(value : String | Nil) : self | Nil
Source

Instance methods

config_name
Source
flag
Source
global?

Returns true if this enum value equals Global

Source
local?

Returns true if this enum value equals Local

Source
privileged?

system writes /etc/gitconfig.

Source
system?

Returns true if this enum value equals System

Source
to_s(io : IO) : Nil

Appends a String representation of this enum member to the given io.

See also: to_s.

Source