Flags for index status
Flags for worktree status
Gather file statuses and run a callback for each one
Get file status for a single file
Test if the ignore rules apply to a given file