FileUtils
constFileUtils:object
Defined in: file/index.ts:17
文件工具函数
引入
函数列表
Type Declaration
getExtension()
getExtension(
filename):string
获取文件扩展名
类型签名
Parameters
Returns
string
文件扩展名(不包含点)
Example
getFileName()
getFileName(
path):string
从路径中获取文件名
类型签名
Parameters
Returns
string
文件名

