lib/index.js
function getPath(pathname) {
    var _paths = { };
    _paths["app.home"] = path.join(process.env.HOME, ".docvy");
    _paths["app.cache"] = path.join(_paths["app.home"], "cache");
    _paths["app.cache.plugins"] = path.join(_paths["app.cache"], "plugins");
    _paths["app.logs"] = path.join(_paths["app.home"], "logs");
    _paths["app.plugins"] = path.join(_paths["app.home"], "plugins");
    var target = _paths[pathname] || null;
    if (target) {
        mkdirp.sync(target);
    }
    return target;
}
function getPath(pathname) {
    var _paths = { };
    _paths["app.home"] = path.join(process.env.HOME, ".docvy");
    _paths["app.cache"] = path.join(_paths["app.home"], "cache");
    _paths["app.cache.plugins"] = path.join(_paths["app.cache"], "plugins");
    _paths["app.logs"] = path.join(_paths["app.home"], "logs");
    _paths["app.plugins"] = path.join(_paths["app.home"], "plugins");
    var target = _paths[pathname] || null;
    if (target) {
        mkdirp.sync(target);
    }
    return target;
}
function getPath ( pathname ) { var _paths = { } ; _paths [ "app.home" ] = path . join ( process . env . HOME , ".docvy" ) ; _paths [ "app.cache" ] = path . join ( _paths [ "app.home" ] , "cache" ) ; _paths [ "app.cache.plugins" ] = path . join ( _paths [ "app.cache" ] , "plugins" ) ; _paths [ "app.logs" ] = path . join ( _paths [ "app.home" ] , "logs" ) ; _paths [ "app.plugins" ] = path . join ( _paths [ "app.home" ] , "plugins" ) ; var target = _paths [ pathname ] || null ; if ( target ) { mkdirp . sync ( target ) ; } return target ; }
Returns application-specific paths

@param  {String} pathname - name of path
@return {String} absolute path
Returns application - specific paths