Mr.L
feat: add full alist source code for Docker build
7107f0b
raw
history blame contribute delete
327 Bytes
package bootstrap
import (
"github.com/alist-org/alist/v3/internal/search"
log "github.com/sirupsen/logrus"
)
func InitIndex() {
progress, err := search.Progress()
if err != nil {
log.Errorf("init index error: %+v", err)
return
}
if !progress.IsDone {
progress.IsDone = true
search.WriteProgress(progress)
}
}