Skip to main content

status

codebolt.git.status(path: string): Promise<any>
Retrieves the status of the local repository at the given path.

Parameters

NameTypeDescription
pathstringThe file system path of the local Git repository.

Returns:

 Promise<any>
A promise that resolves with the response from the status event.

Status

Comming soon...

Example


await git.status('/path/to/repo')

Expaination

Shows the working tree status of the local repository. It has one parameter.

path: A string specifying the local repository path.