lib/info.js
function getKeyspace() {
  var o = {}
    , i
    , db
    , size;
  for(i in this.state.store.databases) {
    db = this.state.store.databases[i];
    size = db.dbsize();
    if(size) {
      o['db' + i] = util.format('keys=%s,expires=%s', size, db.expiring);
    }
  }
  return o;
}
function getKeyspace() {
  var o = {}
    , i
    , db
    , size;
  for(i in this.state.store.databases) {
    db = this.state.store.databases[i];
    size = db.dbsize();
    if(size) {
      o['db' + i] = util.format('keys=%s,expires=%s', size, db.expiring);
    }
  }
  return o;
}
function getKeyspace ( ) { var o = { } , i , db , size ; for ( i in this . state . store . databases ) { db = this . state . store . databases [ i ] ; size = db . dbsize ( ) ; if ( size ) { o [ 'db' + i ] = util . format ( 'keys=%s,expires=%s' , size , db . expiring ) ; } } return o ; }
Get keyspace info section.
Get keyspace info section .