List of usage examples for org.eclipse.jgit.dircache DirCache read
public void read() throws IOException, CorruptObjectException
From source file:com.bacoder.scmtools.git.internal.InMemoryRepository.java
License:Apache License
@Override public DirCache readDirCache() throws NoWorkTreeException, CorruptObjectException, IOException { DirCache dc = new InMemoryDirCache(getIndexFile(), getFS()); dc.read(); dc.setRepository(this); return dc;//from ww w .j av a 2s . co m }