跳到主要内容
CNode

如何判断某个文件夹是否存在?

Ssirzxj发布于 14 年前最后回复 14 年前
2135840

and某个文件是否存在?

查看回复

回复 (2)

3
342479384#114 年前

用文件系统,应该可以吧? 看一下fs的api

C
czing#214 年前
path.exists("/path", function(exists) { });
path.existsSync(p);

参与回复

登录后即可参与回复。登录