Sort le serveur dans une crate pmoserver

This commit is contained in:
2025-10-06 06:01:41 +02:00
parent 11cfd3e27f
commit 6c13e8cb8e
1229 changed files with 532967 additions and 140 deletions

View File

@@ -0,0 +1,12 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getLength = void 0;
function getLength(segments) {
let length = 0;
for (const segment of segments) {
length += typeof segment == 'string' ? segment.length : segment[0].length;
}
return length;
}
exports.getLength = getLength;
//# sourceMappingURL=getLength.js.map