Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
master
electron
/
docs
/
api
/
webUtils
/
method-webUtils.getPathForFile.md
下载
zhangqingnan_codeing
docs: remove platform support section from API docs
377fc406
创建于
4月29日
历史提交
webUtils - webUtils.getPathForFile(file)
概述
返回 string — File 对象对应的文件系统路径;若传入的不是 File 对象则抛出异常,若该 File 对象由 JS 构造且未对应磁盘文件则返回空字符串。
基本信息
属性
值
模块
webUtils
类型
Method
鸿蒙支持
支持