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

Struct Repo

backend/core/models/domainlayer/code/repo.go:28–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26var _ plugin.Scope = (*Repo)(nil)
27
28type Repo struct {
29 domainlayer.DomainEntity
30 Name string `json:"name"`
31 Url string `json:"url"`
32 Description string `json:"description"`
33 OwnerId string `json:"owner_id" gorm:"type:varchar(255)"`
34 Language string `json:"language" gorm:"type:varchar(255)"`
35 ForkedFrom string `json:"forked_from"`
36 CreatedDate *time.Time `json:"created_date"`
37 UpdatedDate *time.Time `json:"updated_date"`
38 Deleted bool `json:"deleted"`
39}
40
41func (Repo) TableName() string {
42 return "repos"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected