* Returns whether a `vectra.keys` file exists for the index.
()
| 165 | * Returns whether a `vectra.keys` file exists for the index. |
| 166 | */ |
| 167 | hasKeys() { |
| 168 | return __awaiter(this, void 0, void 0, function* () { |
| 169 | return yield fs.stat(path.join(this.folderPath, 'vectra.keys')).then(() => true).catch(() => false); |
| 170 | }); |
| 171 | } |
| 172 | /** |
| 173 | * Returns true if the index has been created. |
| 174 | */ |
no outgoing calls
no test coverage detected