CH-J Server Managerbainisteoireacht freastalaí SSH
Roghchlár
Foinse foilsithe

CH-J Server Manager

Brabhsáil comhadlanna agus comhaid chun feidhmchlár áirithe a scaoileadh.

Íosluchtaigh foinse ZIP
CH-J / Server Manager 193 Comhaid
core-20261011T184039Z-4148710795d0 Suimigh: Dáta gan taifeadadh · Tógtha:
Comhaid
guidanceDocuments.js Suimigh: Dáta gan taifeadadh 849 B · 23 líne
Íosluchtaigh comhad
1"use strict";
2const fs = require("node:fs");
3const path = require("node:path");
4const crypto = require("node:crypto");
6const GUIDANCE_FILES = Object.freeze({
7 cs: "provozni-bezpecnost-a-zalohovani.md",
8 de: "betriebssicherheit-und-datensicherung.md",
9 en: "operational-safety-and-backup-guidance.md"
10});
12function loadGuidanceDocuments(docsRoot) {
13 const documents = {};
14 for (const [language, filename] of Object.entries(GUIDANCE_FILES)) {
15 const text = fs.readFileSync(path.join(docsRoot, filename), "utf8");
16 if (text.length < 1000) throw new Error(`Missing or incomplete operational guidance: ${filename}`);
17 documents[language] = text;
18 }
19 const sha256 = crypto.createHash("sha256").update(JSON.stringify(documents)).digest("hex");
20 return { documents, sha256 };
23module.exports = { GUIDANCE_FILES, loadGuidanceDocuments };
SHA-25653f229563c6c287f683d89174386e108ff84fa034750a57bf87459056a6189b4

CH-J Proprietary Software License 1.14 · Tá Foinse ar fáil faoin CH-J Proprietary Software License 1.14. Ní chuireann a infhaighteacht a athrú ar na téarmaí ceadúnais nó cearta breise a dheonú.

Cartlann SHA-2565a8ea02d06a5643cf2330fe9f54b8767a06c1c59d36527705e536fa9dbca7614