def load_pack_index(path):
 with GitFile(path, 'rb') as f:
  return load_pack_index_file(path, f)

def load_pack_index ( path ) : with GitFile ( path , 'rb' ) as f : return load_pack_index_file ( path , f )
load an index file by path .