MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-workbench / getFileCount

Method getFileCount

src/services/workbenchDB.ts:180–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

findOneMethod · 0.80

Tested by

no test coverage detected