add_path


Description:

public bool add_path (string path) throws Error

Add a file to the index by path.

You can specify both relative paths (to the working directory) and absolute paths. Absolute paths however must reside in the working directory. The specified path must exist and must be readable.

Parameters:

this

a Index.

path

path to the file to add.

Returns:

true if the file was added to the index or false if there was an error.




2022 vala-language.org