Struct git2::ConfigEntry [] [src]

pub struct ConfigEntry<'cfg> { /* fields omitted */ }

A struct representing a certain entry owned by a Config instance.

An entry has a name, a value, and a level it applies to.

Methods

impl<'cfg> ConfigEntry<'cfg>
[src]

[src]

Gets the name of this entry.

May return None if the name is not valid utf-8

[src]

Gets the name of this entry as a byte slice.

[src]

Gets the value of this entry.

May return None if the value is not valid utf-8

[src]

Gets the value of this entry as a byte slice.

[src]

Gets the configuration level of this entry.

Trait Implementations

impl<'cfg> Drop for ConfigEntry<'cfg>
[src]

[src]

Executes the destructor for this type. Read more