Skip to content

[BUG] 文件夹重命名后,SCM模块只接收到,删除的子文件,没有更新路径的新建文件 #285

@haozl1129

Description

@haozl1129

描述你的问题(Describe the bug)

把“del”文件夹重命名为“del123”,scm模块只有删除愿 del文件夹下的index.ts,没有创建路径为 /del123/index.ts的记录。

Image

Image

fs-watcher.js 的watch,监听到了文件夹的rename、文件夹的删除、子文件的删除。 没有 新路径 子文件的新建。

Image

复现路径(To Reproduce)

右键文件夹重命名

环境信息(Environment)

  • "@codeblitzjs/ide-core": "^2.5.1",
  • "@opensumi/ide-scm": "3.9.0",
  • "@opensumi/sumi": "3.9.0",

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions