Crate multigit

Source
Expand description

A library for managing multiple Git repositories.

This library provides functionalities to register, unregister, list, and perform Git operations on multiple repositories. It supports filtering repositories based on their state and provides utilities to execute commands across repositories.

Structs§

Config
Configuration data for the application, including registered repositories and directories.
DirectoryEntry
Represents an entry for a directory containing Git repositories.
Multigit
Represents the main application handling multiple repositories.
RepositoryEntry
Represents an entry for a single Git repository.
RepositoryState
Represents the state of a repository.

Enums§

EntryState
Enum representing the state of repository entries.
Filter
Enum representing possible filters for repositories.

Functions§

find_repositories
Finds all Git repositories within a given path.
is_git_repository
Checks if a path is a Git repository.
is_hidden
Checks if a path is hidden (starts with a dot).
noneify
Returns None if the vector is empty, otherwise returns Some(&Vec<T>).
open_in_git_ui
Opens the configured Git UI for a given repository path.