提供了用于处理文件和文件夹路径的实用工具集:
const path = require('path');
1. Windows vs. POSIX
path模块的操作结果由于所运行的操作系统会产生不同的结果
Specifically, when running on a Windows operating system, the path module will assume that Windows-style paths are being used.
提供了用于处理文件和文件夹路径的实用工具集:
const path = require('path');
path模块的操作结果由于所运行的操作系统会产生不同的结果
Specifically, when running on a Windows operating system, the path module will assume that Windows-style paths are being used.
本文标题:Path(编辑中...)
本文链接:https://www.haomeiwen.com/subject/ltrsjqtx.html
网友评论