| Modifier and Type | Field and Description |
|---|---|
| private final HashMap | askFor
Set of refs we will actually wind up asking to obtain. |
| private FetchConnection | |
| private final ArrayList | fetchHeadUpdates
Records to be recorded into FETCH_HEAD. |
| private final HashSet | have
Objects we know we have locally. |
| private Map | |
| private final ArrayList | localUpdates
Updates to local tracking branches (if any). |
| private final Collection | negativeRefSpecs
List of things we don't want to fetch from the remote repository or to the local repository. |
| private final ArrayList | |
| private final Collection | toFetch
List of things we want to fetch from the remote repository. |
| private final Transport | transport
Transport we will fetch over. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private boolean | |
| private void | |
| private TrackingRefUpdate | |
| private void | |
| private void | deleteTrackingRef(final FetchResult result, final BatchRefUpdate batch, final RefSpec spec, final Ref localRef)
|
| pack-priv void | |
| private void | |
| private Collection | |
| private void | |
| private void | |
| private void | |
| private void | |
| private static String | |
| private boolean | |
| private static boolean | |
| private static boolean | |
| private boolean | |
| private Map | |
| private boolean | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| askFor | back to summary |
|---|---|
| private final HashMap<ObjectId, Ref> askFor Set of refs we will actually wind up asking to obtain. | |
| conn | back to summary |
|---|---|
| private FetchConnection conn | |
| fetchHeadUpdates | back to summary |
|---|---|
| private final ArrayList<FetchHeadRecord> fetchHeadUpdates Records to be recorded into FETCH_HEAD. | |
| have | back to summary |
|---|---|
| private final HashSet<ObjectId> have Objects we know we have locally. | |
| localRefs | back to summary |
|---|---|
| private Map<String, Ref> localRefs | |
| localUpdates | back to summary |
|---|---|
| private final ArrayList<TrackingRefUpdate> localUpdates Updates to local tracking branches (if any). | |
| negativeRefSpecs | back to summary |
|---|---|
| private final Collection<RefSpec> negativeRefSpecs List of things we don't want to fetch from the remote repository or to the local repository. | |
| packLocks | back to summary |
|---|---|
| private final ArrayList<PackLock> packLocks | |
| toFetch | back to summary |
|---|---|
| private final Collection<RefSpec> toFetch List of things we want to fetch from the remote repository. | |
| transport | back to summary |
|---|---|
| private final Transport transport Transport we will fetch over. | |
| FetchProcess | back to summary |
|---|---|
| pack-priv FetchProcess(Transport t, Collection<RefSpec> refSpecs) | |
| addUpdateBatchCommands | back to summary |
|---|---|
| private void addUpdateBatchCommands(FetchResult result, BatchRefUpdate batch) throws TransportException | |
| askForIsComplete | back to summary |
|---|---|
| private boolean askForIsComplete() throws TransportException | |
| closeConnection | back to summary |
|---|---|
| private void closeConnection(FetchResult result) | |
| createUpdate | back to summary |
|---|---|
| private TrackingRefUpdate createUpdate(RefSpec spec, ObjectId newId) throws TransportException | |
| deleteStaleTrackingRefs | back to summary |
|---|---|
| private void deleteStaleTrackingRefs(FetchResult result, BatchRefUpdate batch) throws IOException | |
| deleteTrackingRef | back to summary |
|---|---|
| private void deleteTrackingRef(final FetchResult result, final BatchRefUpdate batch, final RefSpec spec, final Ref localRef) | |
| execute | back to summary |
|---|---|
pack-priv void execute(ProgressMonitor monitor, FetchResult result, String initialBranch) throws NotSupportedException, TransportException
| |
| executeImp | back to summary |
|---|---|
| private void executeImp(final ProgressMonitor monitor, final FetchResult result, String initialBranch) throws NotSupportedException, TransportException | |
| expandAutoFollowTags | back to summary |
|---|---|
| private Collection | |
| expandFetchTags | back to summary |
|---|---|
| private void expandFetchTags() throws TransportException | |
| expandSingle | back to summary |
|---|---|
| private void expandSingle(RefSpec spec, Set<Ref> matched) throws TransportException | |
| expandWildcard | back to summary |
|---|---|
| private void expandWildcard(RefSpec spec, Set<Ref> matched) throws TransportException | |
| fetchObjects | back to summary |
|---|---|
| private void fetchObjects(ProgressMonitor monitor) throws TransportException | |
| getFirstFailedRefName | back to summary |
|---|---|
| private static String getFirstFailedRefName(BatchRefUpdate batch) | |
| isInitialBranchMissing | back to summary |
|---|---|
| private boolean isInitialBranchMissing(Map<String, Ref> refsMap, String initialBranch) | |
| isTag | back to summary |
|---|---|
| private static boolean isTag(Ref r) | |
| isTag | back to summary |
|---|---|
| private static boolean isTag(String name) | |
| localHasObject | back to summary |
|---|---|
| private boolean localHasObject(ObjectId id) throws TransportException | |
| localRefs | back to summary |
|---|---|
| private Map | |
| matchNegativeRefSpec | back to summary |
|---|---|
| private boolean matchNegativeRefSpec(RefSpec spec) | |
| removeFetchHeadRecord | back to summary |
|---|---|
| private void removeFetchHeadRecord(ObjectId want) | |
| removeTrackingRefUpdate | back to summary |
|---|---|
| private void removeTrackingRefUpdate(ObjectId want) | |
| reopenConnection | back to summary |
|---|---|
| private void reopenConnection() throws NotSupportedException, TransportException | |
| updateFETCH_HEAD | back to summary |
|---|---|
| private void updateFETCH_HEAD(FetchResult result) throws IOException | |
| want | back to summary |
|---|---|
| private void want(Ref src, RefSpec spec) throws TransportException | |
| want | back to summary |
|---|---|
| private void want(ObjectId id) | |
| wantTag | back to summary |
|---|---|
| private void wantTag(Ref r) throws TransportException | |