A file change collection guarantees that only one change is reported for each URI.

Changes are normalized according following rules:

  • ADDED + ADDED => ADDED
  • ADDED + UPDATED => ADDED
  • ADDED + DELETED => [ADDED, DELETED]
  • UPDATED + ADDED => UPDATED
  • UPDATED + UPDATED => UPDATED
  • UPDATED + DELETED => DELETED
  • DELETED + ADDED => UPDATED
  • DELETED + UPDATED => UPDATED
  • DELETED + DELETED => DELETED

Constructors

Properties

Methods

Constructors

Properties

changes: Map<string, FileChange[]> = ...

Methods