Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Deprecate & remove DocumentManager "pathDeleted" event #8336

@peterflynn

Description

@peterflynn
  • This has no usages in Brackets core code
  • The preferred way to track deleted files is via FileSystem change events
  • Because it's closely tied to the ProjectManager tree-updating code it will actually not fire in some cases where a file was deleted
  • It's called twice whenever a file is deleted via the project tree UI (once when the UI updates itself synchronously, and again when ProjectManager's FS change listener sees the actual change on disk)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions