src/filesystem/impls/appshell/node/FileWatcherManager.js
function unwatchPath(path) {
    Object.keys(_watcherMap).forEach(function (keyPath) {
        if (keyPath.indexOf(path) === 0) {
            _unwatchPath(keyPath);
        }
    });
}
function unwatchPath(path) {
    Object.keys(_watcherMap).forEach(function (keyPath) {
        if (keyPath.indexOf(path) === 0) {
            _unwatchPath(keyPath);
        }
    });
}
function unwatchPath ( path ) { Object . keys ( _watcherMap ) . forEach ( function ( keyPath ) { if ( keyPath . indexOf ( path ) === 0 ) { _unwatchPath ( keyPath ) ; } } ) ; }
Un-watch a file or directory. For directories, unwatch all descendants.
@param {string} path File or directory to unwatch.
Un - watch a file or directory . For directories unwatch all descendants .