index.js
function (filePath, hashMap, dependencyMap, cache) {

        var me = this;
        var recursiveHashMap = me.recursiveHashMap;

        var hash = recursiveHashMap[ filePath ];

        if (!cache || !hash) {
            hash = getRecursiveHash(
                filePath,
                hashMap,
                dependencyMap
            );
        }

        if (cache) {
            recursiveHashMap[ filePath ] = hash;
        }

        return hash;

    }
function (filePath, hashMap, dependencyMap, cache) {

        var me = this;
        var recursiveHashMap = me.recursiveHashMap;

        var hash = recursiveHashMap[ filePath ];

        if (!cache || !hash) {
            hash = getRecursiveHash(
                filePath,
                hashMap,
                dependencyMap
            );
        }

        if (cache) {
            recursiveHashMap[ filePath ] = hash;
        }

        return hash;

    }
获得文件的哈希（递归哈希）

@param {string} filePath
@param {Object=} hashMap
@param {Object=} dependencyMap
@param {boolean=} cache 是否缓存，默认不缓存
@return {string}