This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Gets the object hashes for all files in the Git repo, combining the current commit with working tree state.
export declare function getRepoState(currentWorkingDirectory: string, gitPath?: string): Map<string, string>;
|currentWorkingDirectory||string||The working directory. Only used to find the repository root.|
|gitPath||string||(Optional) The path to the Git executable|