Closed
Description
在什么情况下你需要该特性?In what scenarios do you need this feature?
插件系统需要遍历工作空间data下的目录,以获得对应结构的文件
描述可能的最优解决方案 Describe the optimal solution
API: /api/file/readDir
Request Body: { path: dirPath }
Response Body { files: [
{ type: 'file', name: 'abc.txt' },
{ type: 'folder', name: 'plugins' },
] }
是否需要过滤掉软连接硬链接,还需要思考一下,我这没有太特别的想法。
描述候选的解决方案 Describe the candidate solution
No response
其他信息 Other information
No response
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
[-]readDir API需求[/-][+]提供列出文件 API[/+]🎨 提供列出文件 API Fix #7765
🎨 提供列出文件 API Fix #7765