• Public
  • Public/Protected
  • All

Interface CommittedFileChange

An object encapsulating the changes to a committed file.




commitish: string

A commit SHA or some other identifier that ultimately dereferences to a commit. This is the pointer to the after version of this change. For instance, the parent of this commit will contain the before (or nothing, if the file change represents a new file).

oldUri?: string

The previous URI of the changed URI. Can be absent if the file is new, or just changed and so on.

staged?: boolean

true if the file is staged or committed, false if not staged. If absent, it means not staged.

The file status.

uri: string

The current URI of the changed file resource.