MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / compare

Function compare

src/utils/helpers.js:142–144  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

140 return dir.concat(file);
141
142 function compare(a, b) {
143 return a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1;
144 }
145 },
146 /**
147 * Gets error message from error object

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected