Expand description

Rust containers for valid git-config types.

Modules

Structs

Any string value

Any value that may contain a foreground color, background color, a collection of color (text) modifiers, or a combination of any of the aforementioned values.

Any value that can be interpreted as an integer.

Any value that can be interpreted as a file path.

Enums

Any value that can be interpreted as a boolean.

The error returned when creating Boolean from byte string.

Discriminating enum for Color attributes.

Discriminating enum for Color values.

The error returned when creating Integer from byte string.

Integer prefixes that are supported by git-config.

Discriminating enum between implicit and explicit truthy values.

Functions

&[u8] variant of normalize_cow.

Removes quotes, if any, from the provided inputs. This assumes the input contains a even number of unescaped quotes, and will unescape escaped quotes. The return values should be safe for value interpretation.

Vec[u8] variant of normalize_cow.