AttrOptions class

Wrapper around libgit2's git_attr_options structure.

This class allocates and manages memory for the underlying options structure. Call free when done to release the memory.

Annotations
  • @immutable

Constructors

AttrOptions({Set<GitAttributeCheck> flags = const {GitAttributeCheck.fileThenIndex}, Oid? commit})
Create attribute options with optional flags and commit.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

free() → void
Free memory allocated for these options.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited