MCPcopy Create free account
hub / github.com/apache/devlake / GiteeRepo

Struct GiteeRepo

backend/plugins/gitee/models/repo.go:31–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29var _ plugin.ToolLayerScope = (*GiteeRepo)(nil)
30
31type GiteeRepo struct {
32 common.Scope `mapstructure:",squash"`
33 GiteeId int `gorm:"primaryKey"`
34 Name string `gorm:"type:varchar(255)"`
35 HTMLUrl string `gorm:"type:varchar(255)"`
36 Description string
37 OwnerId int `json:"ownerId"`
38 OwnerLogin string `json:"ownerLogin" gorm:"type:varchar(255)"`
39 Language string `json:"language" gorm:"type:varchar(255)"`
40 ParentGiteeId int `json:"parentId"`
41 ParentHTMLUrl string `json:"parentHtmlUrl"`
42 CreatedDate time.Time `json:"createdDate"`
43 UpdatedDate *time.Time `json:"updatedDate"`
44}
45
46func (r GiteeRepo) ScopeId() string {
47 return strconv.Itoa(r.GiteeId)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected