open


Description:

public static Index? open (File file) throws Error

Create a new bare Git index object as a memory representation of the Git index file in file, without a repository to back it.

Parameters:

file

a File.

Returns:

a Index or null if an error occurred.