Method

FoundryGitVcsdiscard_changes

unstable since: 1.2

Declaration [src]

DexFuture*
foundry_git_vcs_discard_changes (
  FoundryGitVcs* self
)

Description [src]

Discards all changes in the working directory and index, including untracked files, returning the checkout to HEAD.

Available since: 1.2

Return value

Type: DexFuture

A DexFuture that resolves to any value or rejects with error.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.