Documentation for Simbo's Packages
    Preparing search index...

    Interface GitChange

    Interface for a change in a Git repository.

    interface GitChange {
        originPath?: string;
        path: string;
        staged?: GitChangeStagedStatus;
        unstaged?: GitChangeUnstagedStatus;
    }
    Index
    originPath?: string

    The original file path before the change (for renamed or copied files).

    path: string

    The file path of the change.

    The status of the change if it is staged. This can be one of the GitChangeStatus values or undefined if not staged.

    The status of the change if it is unstaged. This can be one of the GitChangeStatus values or undefined if not unstaged.