Skip to content

[libra] 为 rm 命令添加 --dry-run 参数 #1421

Description

@mengnankkkk

[具体描述] 为 rm 命令添加 --dry-run 参数

[实现方案]
让用户可以预览哪些文件会被删除,而不实际执行删除操作。
添加一个辅助方法到 Index 来获取目录中的文件列表。
然后再去调用删除方法进行删除

Metadata

Metadata

Assignees

Labels

Fields

No fields configured for Feature.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions