Guanghu Domestic Migration d1e47f4565
Some checks are pending
自动更新代码和重启 / update-and-restart (push) Waiting to run
CI检查 + 自动部署 / check (push) Waiting to run
CI检查 + 自动部署 / deploy (push) Blocked by required conditions
重启聊天服务 / restart (push) Waiting to run
chore: import sanitized domestic snapshot for REPO-002
Source snapshot: ca48d3ddf926d79aa138306164169baf764bb829
2026-07-17 15:54:41 +08:00

13 lines
339 B
JavaScript

/**
* @capability fs.read
* @description 读文件 (utf8 / binary)
* @signature read(path, encoding='utf8') → string|Buffer
* @sovereign TCS-0002∞
* @copyright 国作登字-2026-A-00037559
*/
'use strict';
const fs = require('fs');
module.exports = function read(p, encoding = 'utf8') {
return fs.readFileSync(p, encoding);
};