## KernelDB.index_metakernel()


Parse a metakernel and store its entries in the `metakernel_entries` table.


Usage

``` python
KernelDB.index_metakernel(mk_path)
```


The existing entries of the metakernel are replaced. C6: the `DELETE` and the `INSERT` statements run in one transaction. A crash between them used to leave an empty `metakernel_entries` set for this `mk_path`, which made the kernel list silently incomplete.


## Parameters


`mk_path: str | Path`  
The `.tm` file.
