We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 235d104 commit 954cba9Copy full SHA for 954cba9
models/repo_indexer.go
@@ -12,6 +12,7 @@ type RepoIndexerStatus struct {
12
CommitSha string `xorm:"VARCHAR(40)"`
13
}
14
15
+// GetIndexerStatus loads repo codes indxer status
16
func (repo *Repository) GetIndexerStatus() error {
17
if repo.IndexerStatus != nil {
18
return nil
@@ -27,6 +28,7 @@ func (repo *Repository) GetIndexerStatus() error {
27
28
29
30
31
+// UpdateIndexerStatus updates indexer status
32
func (repo *Repository) UpdateIndexerStatus(sha string) error {
33
if err := repo.GetIndexerStatus(); err != nil {
34
return err
0 commit comments