references function

Get all references that can be found in a repository.