Given a Git repository and a list of absolute paths to files contained in the repository, it filters and returns the files that are ignored by the .gitignore.
The absolute path to the directory containing the files.
The list of files to check against.
Files ignored by the lockfile.
Given a Git repository and a list of absolute paths to files contained in the repository, it filters and returns the files that are ignored by the .gitignore.