mirror of
https://github.com/simon-ding/polaris.git
synced 2026-02-06 23:21:00 +08:00
feat: blacklist api
This commit is contained in:
@@ -51,6 +51,10 @@ func (c *Engine) Init() {
|
||||
go c.checkW500PosterOnStartup()
|
||||
}
|
||||
|
||||
|
||||
func (c *Engine) GetTask(id int) (*Task, bool) {
|
||||
return c.tasks.Load(id)
|
||||
}
|
||||
func (c *Engine) reloadUsingBuildinDownloader(h *ent.History) error{
|
||||
cl, err := buildin.NewDownloader(c.db.GetDownloadDir())
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user