Interface GitFileChange

Representation of an individual file change in the working directory.

interface GitFileChange {
    oldUri?: string;
    staged?: boolean;
    status: GitFileStatus;
    uri: string;
}

Hierarchy (view full)

Properties

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.