Skip to content
ran
ranuts
ranui
Web Components UI 库
ranuts
TypeScript 工具库
Search
⌘
Ctrl
K
Main Navigation
首页
文章
文档编辑器
简体中文
English
简体中文
English
Appearance
Menu
Return to top
On this page
ReadDir
读一个目录下的所有文件
API
Return
Promise
参数
说明
类型
描述
result
目录下所有文件的数组
array
传入函数的参数
Options
参数
说明
类型
默认值
options
object
传入函数的参数
dirPath
文件的路径
Stats
Example