Module repos

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).
CommitDateOptions
CommitDateOptions store dates for GIT_AUTHOR_DATE and GIT_COMMITTER_DATE
CommitUser
Represents information about a user in the context of a commit.
Entry
Entry represents metadata and contents of a file
EntryMutation
EntryMutation represents mutation of an entry, it can be a creation, an update or a deletion
EntryVerification
EntryVerification represents the verification of a given Entry change on the repository
ExternalTracker
ExternalTracker represents settings for external tracker
ExternalWiki
ExternalWiki represents setting for external wiki
FileLinks
FileLinks contains related resource URLs for a file entry.
Identity
Identity for a person’s identity like an author or committer
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”.