lib/command/server/debug.js
function diff(req, res) {
  // defined and loaded commands
  var cmds = this.execs
    // map of all standard top-level commands
    , map = Constants.MAP
    // output multi bulk reply list
    , list = []
    , k;

  for(k in map) {
    if(!cmds[k]) list.push(k);
  }

  res.send(null, list);
}
function diff(req, res) {
  // defined and loaded commands
  var cmds = this.execs
    // map of all standard top-level commands
    , map = Constants.MAP
    // output multi bulk reply list
    , list = []
    , k;

  for(k in map) {
    if(!cmds[k]) list.push(k);
  }

  res.send(null, list);
}
function diff ( req , res ) { // defined and loaded commands var cmds = this . execs // map of all standard top-level commands , map = Constants . MAP // output multi bulk reply list , list = [ ] , k ; for ( k in map ) { if ( ! cmds [ k ] ) list . push ( k ) ; } res . send ( null , list ) ; }
Respond to the DIFF subcommand.

Non-standard debug subcommand that returns a diff between the list
of standard redis commands and the commands loaded.

Primarily useful to determine which commands have not yet been
implemented, but in a scenario where commands have been renamed, deleted
or custom commands loaded this could also be useful.
Respond to the DIFF subcommand .