lib/file.js
function(key) {
    var fn = this.pickOption('renameKey');
    if (!fn) {
      fn = this.collection.renameKey || this.app.renameKey;
    }
    if (typeof fn !== 'function') return key;
    return fn(key);
  }
function(key) {
    var fn = this.pickOption('renameKey');
    if (!fn) {
      fn = this.collection.renameKey || this.app.renameKey;
    }
    if (typeof fn !== 'function') return key;
    return fn(key);
  }
function ( key ) { var fn = this . pickOption ( 'renameKey' ) ; if ( ! fn ) { fn = this . collection . renameKey || this . app . renameKey ; } if ( typeof fn !== 'function' ) return key ; return fn ( key ) ; }
Get the basename of a file path.
Get the basename of a file path .