libgit2.example.ls_files

This example demonstrates the libgit2 index APIs to roughly simulate the output of git ls-files. git ls-files has many options and this currently does not show them.

git ls-files base command shows all paths in the index at that time. This includes staged and committed files, but unstaged files will not display.

This currently supports the default behavior and the --error-unmatch option.

Members

Functions

lg2_ls_files
int lg2_ls_files(libgit2.types.git_repository* repo, int argc, char** argv)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

ls_options
struct ls_options
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta