checkout_index


Description:

public bool checkout_index (Index? index, CheckoutOptions? options) throws Error

Update files in the working tree to reflect the contents of the index.

If index is null, then the current index of the repository will be used. If options is null, then the default checkout options will be used.

If the checkout was not successfull, then throws will be set.

Parameters:

this

a Repository.

index

a Index or null.

options

a CheckoutOptions or null.

Returns:

true if the checkout was successfull, false otherwise.




2022 vala-language.org