MCPcopy Index your code
hub / github.com/prettydiff/prettydiff / minute

Function minute

api/prettydiff-webtool.ts:3112–3119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3110 return a;
3111 },
3112 minute = function dom_event_execute_app_renderOutput_proctime_minute():void {
3113 minutes = elapsed / 60;
3114 minuteString = plural(minutes, " minute");
3115 minutes = elapsed - (minutes * 60);
3116 secondString = (minutes === 1)
3117 ? "1 second"
3118 : `${minutes.toFixed(3)} seconds`;
3119 };
3120 let elapsed:number = (Date.now() - startTime) / 1000,
3121 minuteString:string = "",
3122 hourString:string = "",

Callers 1

renderOutputFunction · 0.70

Calls 1

pluralFunction · 0.70

Tested by

no test coverage detected