智能控制中心,出版发布

This commit is contained in:
BBIT-Kai
2025-05-09 18:07:26 +08:00
commit f6f2a71d09
1374 changed files with 116035 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import { posix } from 'node:path';
/**
* 将给定的文件路径转换为 POSIX 风格。
* @param {string} pathname - 原始文件路径。
*/
function toPosixPath(pathname: string) {
return pathname.split(`\\`).join(posix.sep);
}
export { toPosixPath };