code: public static String generateDbPath(String baseDir, String dbName) {
      return PathUtils.concatPath(baseDir, dbName);
    }
docs: Generates a path to use for a RocksDB database.
  
  @param baseDir the base directory path
  @param dbName a name for the database
  @return the generated database path