()
| 178 | } |
| 179 | |
| 180 | getFileCount() { |
| 181 | return this.sync |
| 182 | .then((db) => db.Header.findOne({ attributes: ["files_count"] })) |
| 183 | .then((count) => (count ? count.getDataValue("files_count") : 0)); |
| 184 | } |
| 185 | |
| 186 | getAllLicenseDetections() { |
| 187 | return this.sync |