MCPcopy Create free account
hub / github.com/alexkuz/script-progress / getDiff

Function getDiff

index.js:57–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55var ls = cp.spawn(cmd, args, { env: process.env });
56
57function getDiff() {
58 var diff = process.hrtime(time);
59 return (diff[0] + diff[1] / 10E9);
60}
61
62function clear() {
63 bar.terminal.cursorTo(0, null);

Callers 2

index.jsFile · 0.85
redrawFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected