diff options
Diffstat (limited to 'node_modules/tar/coverage/lcov-report/tar/lib/update.js.html')
-rw-r--r-- | node_modules/tar/coverage/lcov-report/tar/lib/update.js.html | 173 |
1 files changed, 0 insertions, 173 deletions
diff --git a/node_modules/tar/coverage/lcov-report/tar/lib/update.js.html b/node_modules/tar/coverage/lcov-report/tar/lib/update.js.html deleted file mode 100644 index 531cdde..0000000 --- a/node_modules/tar/coverage/lcov-report/tar/lib/update.js.html +++ /dev/null @@ -1,173 +0,0 @@ -<!doctype html> -<html lang="en"> -<head> - <title>Code coverage report for tar/lib/update.js</title> - <meta charset="utf-8" /> - <link rel="stylesheet" href="../../prettify.css" /> - <link rel="stylesheet" href="../../base.css" /> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <style type='text/css'> - .coverage-summary .sorter { - background-image: url(../../sort-arrow-sprite.png); - } - </style> -</head> -<body> -<div class='wrapper'> - <div class='pad1'> - <h1> - <a href="../../index.html">All files</a> / <a href="index.html">tar/lib</a> update.js - </h1> - <div class='clearfix'> - <div class='fl pad1y space-right2'> - <span class="strong">100% </span> - <span class="quiet">Statements</span> - <span class='fraction'>20/20</span> - </div> - <div class='fl pad1y space-right2'> - <span class="strong">100% </span> - <span class="quiet">Branches</span> - <span class='fraction'>15/15</span> - </div> - <div class='fl pad1y space-right2'> - <span class="strong">100% </span> - <span class="quiet">Functions</span> - <span class='fraction'>4/4</span> - </div> - <div class='fl pad1y space-right2'> - <span class="strong">100% </span> - <span class="quiet">Lines</span> - <span class='fraction'>20/20</span> - </div> - </div> - </div> - <div class='status-line high'></div> -<pre><table class="coverage"> -<tr><td class="line-count quiet">1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37</td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span> -<span class="cline-any cline-neutral"> </span> -<span class="cline-any cline-neutral"> </span> -<span class="cline-any cline-neutral"> </span> -<span class="cline-any cline-yes">2x</span> -<span class="cline-any cline-yes">2x</span> -<span class="cline-any cline-neutral"> </span> -<span class="cline-any cline-neutral"> </span> -<span class="cline-any cline-yes">2x</span> -<span class="cline-any cline-yes">36x</span> -<span class="cline-any cline-neutral"> </span> -<span class="cline-any cline-yes">36x</span> -<span class="cline-any cline-yes">1x</span> -<span class="cline-any cline-neutral"> </span> -<span class="cline-any cline-yes">35x</span> -<span class="cline-any cline-yes">1x</span> -<span class="cline-any cline-neutral"> </span> -<span class="cline-any cline-yes">34x</span> -<span class="cline-any cline-yes">1x</span> -<span class="cline-any cline-neutral"> </span> -<span class="cline-any cline-yes">33x</span> -<span class="cline-any cline-neutral"> </span> -<span class="cline-any cline-yes">33x</span> -<span class="cline-any cline-yes">33x</span> -<span class="cline-any cline-neutral"> </span> -<span class="cline-any cline-neutral"> </span> -<span class="cline-any cline-yes">2x</span> -<span class="cline-any cline-yes">33x</span> -<span class="cline-any cline-neutral"> </span> -<span class="cline-any cline-yes">33x</span> -<span class="cline-any cline-yes">32x</span> -<span class="cline-any cline-neutral"> </span> -<span class="cline-any cline-yes">33x</span> -<span class="cline-any cline-yes">2x</span> -<span class="cline-any cline-yes">24x</span> -<span class="cline-any cline-neutral"> </span> -<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">'use strict' - -// tar -u - -const hlo = require('./high-level-opt.js') -const r = require('./replace.js') -// just call tar.r with the filter and mtimeCache - -const u = module.exports = (opt_, files, cb) => { - const opt = hlo(opt_) - - if (!opt.file) - throw new TypeError('file is required') - - if (opt.gzip) - throw new TypeError('cannot append to compressed archives') - - if (!files || !Array.isArray(files) || !files.length) - throw new TypeError('no files or directories specified') - - files = Array.from(files) - - mtimeFilter(opt) - return r(opt, files, cb) -} - -const mtimeFilter = opt => { - const filter = opt.filter - - if (!opt.mtimeCache) - opt.mtimeCache = new Map() - - opt.filter = filter ? (path, stat) => - filter(path, stat) && !(opt.mtimeCache.get(path) > stat.mtime) - : (path, stat) => !(opt.mtimeCache.get(path) > stat.mtime) -} - </pre></td></tr> -</table></pre> -<div class='push'></div><!-- for sticky footer --> -</div><!-- /wrapper --> -<div class='footer quiet pad2 space-top1 center small'> - Code coverage - generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Nov 20 2017 16:00:38 GMT-0800 (PST) -</div> -</div> -<script src="../../prettify.js"></script> -<script> -window.onload = function () { - if (typeof prettyPrint === 'function') { - prettyPrint(); - } -}; -</script> -<script src="../../sorter.js"></script> -</body> -</html> |