Package | Description |
---|---|
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
org.eclipse.jgit.transport.resolver |
Server-side resolver for locating repositories by URLs.
|
Modifier and Type | Method and Description |
---|---|
void |
AdvertiseRefsHook.advertiseRefs(BaseReceivePack receivePack)
Advertise refs for receive-pack.
|
void |
AdvertiseRefsHookChain.advertiseRefs(BaseReceivePack rp)
Advertise refs for receive-pack.
|
void |
AbstractAdvertiseRefsHook.advertiseRefs(BaseReceivePack receivePack)
Advertise refs for receive-pack.
|
void |
AdvertiseRefsHook.advertiseRefs(UploadPack uploadPack)
Advertise refs for upload-pack.
|
void |
AdvertiseRefsHookChain.advertiseRefs(UploadPack rp)
Advertise refs for upload-pack.
|
void |
AbstractAdvertiseRefsHook.advertiseRefs(UploadPack uploadPack)
Advertise refs for upload-pack.
|
protected Set<ObjectId> |
AbstractAdvertiseRefsHook.getAdvertisedHaves(Repository repository,
RevWalk revWalk)
Get the additional haves to advertise.
|
protected abstract Map<String,Ref> |
AbstractAdvertiseRefsHook.getAdvertisedRefs(Repository repository,
RevWalk revWalk)
Get the refs to advertise.
|
void |
PreUploadHook.onBeginNegotiateRound(UploadPack up,
Collection<? extends ObjectId> wants,
int cntOffered)
Invoked before negotiation round is started.
|
void |
PreUploadHookChain.onBeginNegotiateRound(UploadPack up,
Collection<? extends ObjectId> wants,
int cntOffered)
Invoked before negotiation round is started.
|
default void |
ProtocolV2Hook.onCapabilities(CapabilitiesV2Request req) |
void |
PreUploadHook.onEndNegotiateRound(UploadPack up,
Collection<? extends ObjectId> wants,
int cntCommon,
int cntNotFound,
boolean ready)
Invoked after a negotiation round is completed.
|
void |
PreUploadHookChain.onEndNegotiateRound(UploadPack up,
Collection<? extends ObjectId> wants,
int cntCommon,
int cntNotFound,
boolean ready)
Invoked after a negotiation round is completed.
|
default void |
ProtocolV2Hook.onFetch(FetchV2Request req) |
default void |
ProtocolV2Hook.onLsRefs(LsRefsV2Request req) |
void |
PreUploadHook.onSendPack(UploadPack up,
Collection<? extends ObjectId> wants,
Collection<? extends ObjectId> haves)
Invoked just before a pack will be sent to the client.
|
void |
PreUploadHookChain.onSendPack(UploadPack up,
Collection<? extends ObjectId> wants,
Collection<? extends ObjectId> haves)
Invoked just before a pack will be sent to the client.
|
void |
BaseReceivePack.sendAdvertisedRefs(RefAdvertiser adv)
Generate an advertisement of available refs and capabilities.
|
void |
UploadPack.sendAdvertisedRefs(RefAdvertiser adv)
Generate an advertisement of available refs and capabilities.
|
void |
UploadPack.sendAdvertisedRefs(RefAdvertiser adv,
String serviceName)
Generate an advertisement of available refs and capabilities.
|
Modifier and Type | Method and Description |
---|---|
Repository |
RepositoryResolver.open(C req,
String name)
Locate and open a reference to a
Repository . |
Copyright © 2018 Eclipse JGit Project. All rights reserved.