CH-J Server ManagerSSH によるサーバー管理
メニュー
公開済みのソース

CH-J Server Manager

特定のアプリケーションリリースのディレクトリとファイルを閲覧できます。

ソースの ZIP をダウンロード
CH-J / Server Manager 377 ファイル
core-20261019T111616Z-160a00bfcddc 追加日時: · ビルド日時:
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-256a9605c0870a223b6a8542bb0705edd51d8b04f3069582653417a8397fabcc09a
ファイル