Package org.eclipse.jgit.lib.GitIndex

Examples of org.eclipse.jgit.lib.GitIndex.Entry.update()


      CorruptObjectException {
    File writeTrashFile = writeTrashFile(filename, filename);

    GitIndex index = db.getIndex();
    Entry entry = index.add(db.getWorkTree(), writeTrashFile);
    entry.update(writeTrashFile);
    index.write();
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.