Modules§
Macros§
- message
- newtype
- pike
- The pipe operator |> allows you to establish “pipelines” of functions in a flexible manner.
- pike_
opt - Works similar to
pike
butpike_opt
keeps going as long as the proceding functions retunsNone
. Returns the firstSome
value. - pike_
res - Works similar to
pike
butpike_res
exits the pipeline early if a function returns an Err() - s
- Converts the value into a String by calling the
std::fmt::Display::to_string
on the value.
Structs§
- ApiToken
- The API Token for the user
ForgeJo
: https://{hostname}/user/settings/applicationsGithub
: https://github.com/settings/tokens - Branch
Name - The name of a Git branch
- Commit
Count - A number of commits
- Forge
Alias - The name of a Forge to connect to
- Forge
Config - Defines a Forge to connect to
Maps from
git-next-server.toml
atforge.{forge}
- Forge
Details - The derived information about a Forge, used to create interactions with it
- Forge
Notification - A notification receive from a Forge, typically via a Webhook.
- GitDir
- The path to the directory containing the git repository.
- Hostname
- The hostname for the forge
- Registered
Webhook - Remote
Url - The URL of a remote repository
- Repo
Alias - The alias of a repo.
- Repo
Branches - Mapped from
.git-next.toml
file atbranches
- Repo
Config - Mapped from
.git-next.toml
file in target repo Is also derived from the optional parameters ingit-next-server.toml
atforge.{forge}.repos.{repo}.(main|next|dev)
- Repo
Path - The path for the repo within the forge.
Typically this is composed of the user or organisation and the name of the repo
e.g.
{user}/{repo}
- Server
Repo Config - Defines a Repo within a
ForgeConfig
to be monitored by the server Maps fromgit-next-server.toml
atforge.{forge}.repos.{name}
- User
- The user within the forge to connect as
- Webhook
Auth - The unique token authorisation for the webhook.
- Webhook
Id - The ID of the webhook, as returned by the forge when it is registered.
Enums§
- Forge
Type - Identifier for the type of Forge
- Repo
Config Source - Storage
Path Type