Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
55
var
ls = cp.spawn(cmd, args, { env: process.env });
56
57
function
getDiff() {
58
var
diff = process.hrtime(time);
59
return
(diff[0] + diff[1] / 10E9);
60
}
61
62
function
clear() {
63
bar.terminal.cursorTo(0, null);
Callers
2
index.js
File · 0.85
redraw
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected