Ggit.ConfigEntry

Fields

None

Methods

  get_level ()
  get_name ()
  get_value ()
  ref ()
  unref ()

Details

class Ggit.ConfigEntry

Represents a git configuration entry.

get_level()
Returns:the Ggit.ConfigLevel of self.
Return type:Ggit.ConfigLevel

Gets the Ggit.ConfigLevel of self.

get_name()
Returns:the name of self or None.
Return type:str or None

Gets the name of self.

get_value()
Returns:the value of self or None.
Return type:str or None

Gets the value of self.

ref()
Returns:a Ggit.ConfigEntry or None.
Return type:Ggit.ConfigEntry or None

Atomically increments the reference count of self by one. This function is MT-safe and may be called from any thread.

unref()

Atomically decrements the reference count of self by one. If the reference count drops to 0, self is freed.