CH-J Server Manager透過 SSH 管理伺服器
選單
已發布的原始碼

CH-J Server Manager

瀏覽特定應用程式版本的目錄與檔案。

下載原始碼 ZIP
CH-J / Server Manager 193 個檔案
core-20261011T184039Z-4148710795d0 新增時間: 未記錄日期 · 建置時間:
guidanceDocuments.js 新增時間: 未記錄日期 849 B · 23 行
程式碼 下載檔案
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 · 原始碼依 CH-J Proprietary Software License 1.14 提供。公開原始碼不會改變授權條款,也不會授予額外的權利。

壓縮檔 SHA-2565a8ea02d06a5643cf2330fe9f54b8767a06c1c59d36527705e536fa9dbca7614
檔案