EventIndex: Add a method to get the current disk usage of the index.
This commit is contained in:
parent
491cef4f92
commit
f324f676d3
2 changed files with 12 additions and 0 deletions
|
@ -406,4 +406,9 @@ export default class EventIndex {
|
|||
const indexManager = PlatformPeg.get().getEventIndexingManager();
|
||||
return indexManager.searchEventIndex(searchArgs);
|
||||
}
|
||||
|
||||
async indexSize() {
|
||||
const indexManager = PlatformPeg.get().getEventIndexingManager();
|
||||
return indexManager.indexSize();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue