chickadee » git » index-ref

index-ref index key #!optional typeprocedure

Returns the index-entry from the index for the given key, which may be an zero-based integer index or a pathname string, or #f if no such entry exists. If a type symbol is given, either merged (the default behavior) or unmerged, the search will be limited to such entries.