MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / budgetName

Function budgetName

lib/web/tern/tern.js:511–518  ·  view source on GitHub ↗
(srv, file)

Source from the content-addressed store, hash-verified

509 }
510
511 function budgetName(srv, file) {
512 for (;;) {
513 var parent = srv.fileMap[file.parent];
514 if (!parent.parent) break;
515 file = parent;
516 }
517 return file.name;
518 }
519
520 function chargeOnBudget(srv, file) {
521 var bName = budgetName(srv, file);

Callers 1

chargeOnBudgetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected