package
0.1.5
Repository: https://github.com/modernice/jotbot.git
Documentation: pkg.go.dev

# Functions

Branch configures the branch on which a commit should be made.
DefaultCommit creates a new Commit with a predefined message and footer indicating that the commit was created automatically.
NewCommit creates a new Commit with a message and an optional description.
Repo initializes a new instance of a [*Repository] with the provided root directory and applies any provided options.
WithLogger returns an Option that sets the logger of a Repository to a new logger using the provided slog.Handler.

# Structs

Commit represents a set of changes or updates in a version control system with an associated message, optional extended description, and an optional footer.
Repository represents a version-controlled workspace where changes to files are tracked.

# Interfaces

Committer represents an entity capable of producing a commit, which encapsulates changes to be recorded in a version control system.
Patch represents an operation that can be applied to a repository to modify its contents.

# Type aliases

CommitOption represents a configuration modifier that customizes the behavior of a commit operation within a repository.
Option configures a [*Repository] by setting its properties or initializing resources needed by the repository.