"time" | "time" | ||||
) | ) | ||||
// Protected metadata | |||||
const ( | const ( | ||||
// Protected User ID | |||||
ProtectedBranchUserID = "GITEA_USER_ID" | |||||
// Protected Repo ID | |||||
// ProtectedBranchRepoID protected Repo ID | |||||
ProtectedBranchRepoID = "GITEA_REPO_ID" | ProtectedBranchRepoID = "GITEA_REPO_ID" | ||||
// Protected access mode | |||||
ProtectedBranchAccessMode = "GITEA_ACCESS_MODE" | |||||
) | ) | ||||
// ProtectedBranch struct | // ProtectedBranch struct |