MCPcopy Create free account
hub / github.com/SethGammon/Citadel / countTableAgents

Function countTableAgents

scripts/dashboard.js:383–386  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

381 }).sort((left, right) => new Date(right.modifiedAt).getTime() - new Date(left.modifiedAt).getTime());
382}
383
384function countTableAgents(content) {
385 const rows = content.split(/\r?\n/).filter((line) => /^\|\s*\d+\s*\|/.test(line));
386 return rows.length;
387}
388
389function safeMtime(filePath) {

Callers 1

readFleetSessionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected