| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| FetchV0Request | back to summary |
|---|---|
| pack-priv FetchV0Request(Set<ObjectId> wantIds, int depth, Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, Set<String> clientCapabilities, int deepenSince, List<String> deepenNotRefs, String agent, String clientSID) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | |
| pack-priv final Set | |
| pack-priv final Set | |
| pack-priv String | |
| pack-priv final List | |
| pack-priv int | |
| pack-priv int | |
| pack-priv FilterSpec | |
| pack-priv final Set |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv FetchV0Request. | Returns: this builderclient capabilities sent by the client in the first want
line of the request clientCapabilities)Add client capabilities |
| pack-priv FetchV0Request. | Returns: this builderobject id received in a "shallow" line shallowOid)Add client shallow commit |
| pack-priv FetchV0Request. | Returns: this builderreference received in a "deepen not" line deepenNot)Add "deepen not" |
| pack-priv FetchV0Request. | |
| pack-priv FetchV0Request | |
| pack-priv int | Returns: shallow since value, sent before in a "deepen since" line. 0 by default.Get "deepen since |
| pack-priv int | Returns: depth set in the request (via a "deepen" line). Defaulting to 0 if not set.Get depth |
| pack-priv boolean | Returns: true if there has been at least one "deepen not" line in the request so farWhether there's at least one "deepen not" line |
| pack-priv FetchV0Request. | |
| pack-priv FetchV0Request. | Returns: this buildersession-id line sent by the client in the request body clientSID)Set client session id |
| pack-priv FetchV0Request. | Returns: this builderUnix timestamp received in a "deepen since" line value)Set "deepen since" |
| pack-priv FetchV0Request. | |
| pack-priv FetchV0Request. |
| agent | back to summary |
|---|---|
| pack-priv String agent | |
| clientCaps | back to summary |
|---|---|
| pack-priv final Set<String> clientCaps | |
| clientShallowCommits | back to summary |
|---|---|
| pack-priv final Set<ObjectId> clientShallowCommits | |
| clientSID | back to summary |
|---|---|
| pack-priv String clientSID | |
| deepenNots | back to summary |
|---|---|
| pack-priv final List<String> deepenNots | |
| deepenSince | back to summary |
|---|---|
| pack-priv int deepenSince | |
| depth | back to summary |
|---|---|
| pack-priv int depth | |
| filterSpec | back to summary |
|---|---|
| pack-priv FilterSpec filterSpec | |
| wantIds | back to summary |
|---|---|
| pack-priv final Set<ObjectId> wantIds | |
| Builder | back to summary |
|---|---|
| pack-priv Builder() | |
| addClientCapabilities | back to summary |
|---|---|
| pack-priv FetchV0Request. Add client capabilities
| |
| addClientShallowCommit | back to summary |
|---|---|
| pack-priv FetchV0Request. Add client shallow commit
| |
| addDeepenNot | back to summary |
|---|---|
| pack-priv FetchV0Request. Add "deepen not"
| |
| addWantId | back to summary |
|---|---|
| pack-priv FetchV0Request. Add wantId
| |
| build | back to summary |
|---|---|
| pack-priv FetchV0Request build() | |
| getDeepenSince | back to summary |
|---|---|
| pack-priv int getDeepenSince() Get "deepen since
| |
| getDepth | back to summary |
|---|---|
| pack-priv int getDepth() Get depth
| |
| hasDeepenNots | back to summary |
|---|---|
| pack-priv boolean hasDeepenNots() Whether there's at least one "deepen not" line
| |
| setAgent | back to summary |
|---|---|
| pack-priv FetchV0Request. Set agent
| |
| setClientSID | back to summary |
|---|---|
| pack-priv FetchV0Request. Set client session id
| |
| setDeepenSince | back to summary |
|---|---|
| pack-priv FetchV0Request. Set "deepen since"
| |
| setDepth | back to summary |
|---|---|
| pack-priv FetchV0Request. Set depth
| |
| setFilterSpec | back to summary |
|---|---|
| pack-priv FetchV0Request. Set filter spec
| |