Method
setEbookStatus
(bookId int, ext string, status int)
Source from the content-addressed store, hash-verified
| 369 | } |
| 370 | |
| 371 | func (m *Ebook) setEbookStatus(bookId int, ext string, status int) { |
| 372 | if bookId <= 0 { |
| 373 | return |
| 374 | } |
| 375 | orm.NewOrm().QueryTable(m).Filter("book_id", bookId).Filter("ext", ext).Update(orm.Params{"status": status}) |
| 376 | } |
| 377 | |
| 378 | func (m *Ebook) callback(identify, ebookPath string, errConvert error) { |
| 379 | var ebook Ebook |
Callers
nothing calls this directly
Tested by
no test coverage detected