How to find where a database is stored on disk

For various debugging reasons, we might need to learn about where a Lepiter knowledge base is stored on disk.

Every knowledge base that is stored on disk has a monitor that keeps track of changes and synchronizes them with the disk. Naturally, this object also knows where the root directory is, too. You can get to it like this:

thisSnippet database monitor localRoot
  

This makes use of the thisSnippet variable from a Pharo snippet from which we can get to the current database.