public setObjectChecking ( bool on ) : void | ||
on | bool | |
Результат | void |
private IndexPack newIndexPack() { IndexPack ip = IndexPack.Create(_transport.Local, _bin); ip.setFixThin(true); ip.setObjectChecking(_transport.CheckFetchedObjects); return(ip); }
private void ReceivePack(ProgressMonitor monitor) { IndexPack ip = IndexPack.Create(local, _sideband ? pckIn.sideband(monitor) : inStream); ip.setFixThin(_thinPack); ip.setObjectChecking(transport.CheckFetchedObjects); ip.index(monitor); _packLock = ip.renameAndOpenPack(_lockMessage); }
private void ReceivePack(ProgressMonitor monitor) { Stream input = inStream; if (_sideband) { input = new SideBandInputStream(input, monitor); } IndexPack ip = IndexPack.Create(local, input); ip.setFixThin(_thinPack); ip.setObjectChecking(transport.CheckFetchedObjects); ip.index(monitor); _packLock = ip.renameAndOpenPack(_lockMessage); }
private void receivePack() { IndexPack ip = IndexPack.Create(db, raw); ip.setFixThin(true); ip.setObjectChecking(isCheckReceivedObjects()); ip.index(new NullProgressMonitor()); // [caytchen] TODO: reflect gitsharp string lockMsg = "jgit receive-pack"; if (getRefLogIdent() != null) { lockMsg += " from " + getRefLogIdent().ToExternalString(); } packLock = ip.renameAndOpenPack(lockMsg); }
private void receivePack() { indexPack = IndexPack.Create(db, rawInput); indexPack.setFixThin(true); indexPack.setNeedNewObjectIds(needNewObjectIds); indexPack.setNeedBaseObjectIds(needBaseObjectIds); indexPack.setObjectChecking(isCheckReceivedObjects()); indexPack.index(NullProgressMonitor.Instance); // TODO: [caytchen] reflect gitsharp string lockMsg = "jgit receive-pack"; if (getRefLogIdent() != null) { lockMsg += " from " + getRefLogIdent().ToExternalString(); } packLock = indexPack.renameAndOpenPack(lockMsg); }