Expand description
git-prole
is a git worktree
manager.
The git-prole
Rust library is a convenience and shouldn’t be depended on. I do not
consider this to be a public/stable API and will make breaking changes here in minor version
bumps. If you’d like a stable git-prole
Rust API for some reason, let me know and we can maybe
work something out.
Modules§
- Like
fs_err
, but the functions are instrumented withtracing::instrument
and returnmiette::Result
instead ofstd::io::Result
.
Structs§
- Options for
git worktree add
. - A Git commit hash.
- Configuration, both from the command-line and a user configuration file.
git
CLI wrapper.- Git methods for dealing with worktrees.
- Git methods for dealing with config.
- Git methods for dealing with paths.
- Git methods for dealing with refs.
- Git methods for dealing with remotes.
- Git methods for dealing with statuses and the working tree.
- Git methods for dealing with worktrees.
- A Git reference to a local branch.
- A Git reference.
- A Git reference to a remote branch.
- A worktree with a new name.
- Options for
GitWorktree::resolve_unique_names
. - A
git status
listing. - The status of a particular file.
- A Git worktree.
- A set of Git worktrees.
Enums§
- A Git reference to a remote branch.
- Is
HEAD
detached? - A resolved
<commit-ish>
, which can either be a commit hash or a ref name. - The status code of a particular file. Each
StatusEntry
has two of these.
Traits§
- A way to display a path “nicely”.
Functions§
- Format an iterator of items into a bulleted list with line breaks between elements.
- Like
format_bulleted_list
, except the second and subsequent lines of multi-line items are indented as well. - Check if a set of paths all have the same parent directory and they are the only paths in that directory (other than dotfiles).
- Where will
url
be cloned to?