Module repos

Source

Structs§

Branch
Commit
Represents a commit in a repository. This struct is a subset of the full commit object. It does not include the affected files, parent commits or commit stats (additions and deletions).
CommitUser
Represents information about a user in the context of a commit.
ExternalTracker
ExternalTracker represents settings for external tracker
ExternalWiki
ExternalWiki represents setting for external wiki
PayloadCommit
PayloadUser
RepoCommit
Represents the actual commit object in the underlying git repository. This struct is a subset of the full commit object. It does not include the full commit tree or commit verification.
Repository
Represents a Gitea repository. This struct is a subset of the full repository object. Some fields the API provides (like external trackers) are not included here.

Enums§

ObjectFormatName
Represents the format of the object in the repository. Defaults to ObjectFormatName::SHA1. SHA1 is more widely supported, but SHA256 is more secure.
TrustModel
Represents the trust model for verifying commits in the repository. Defaults to TrustModel::Default (obviously). This determines when signatures are considered “trusted”.