Staging

Contains helper functions which allow to deal with git's staging area.

Functions and values

Function or valueDescription
stageAll(repositoryDir)
Signature: repositoryDir:string -> unit

Adds all files to the staging area

stageFile repositoryDir file
Signature: repositoryDir:string -> file:string -> bool * string list * string

Adds a file to the staging area