GitStatusSnapshot with tracking = false.
Otherwise, it returns a full snapshot including tracking status, sync status, and conflict state.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static GitStatusSnapshot | |
| public static GitStatusSnapshot | |
| public static GitStatusSnapshot | |
| public static GitStatusSnapshot | |
| private static SyncStatus | |
| private static SyncStatus | determineSyncStatusWithoutRemoteHead(GitHandler gitHandler)
The remote is only consulted to tell "remote exists but is empty" apart from "cannot tell". |
| public static boolean | |
| private static JabRefException |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| GitStatusChecker | back to summary |
|---|---|
| public GitStatusChecker() | |
| checkStatus | back to summary |
|---|---|
| public static GitStatusSnapshot checkStatus(GitHandler gitHandler) | |
| checkStatus | back to summary |
|---|---|
| public static GitStatusSnapshot checkStatus(Path anyPathInsideRepo, GitPreferences gitPreferences) | |
| checkStatusAndFetch | back to summary |
|---|---|
| public static GitStatusSnapshot checkStatusAndFetch(GitHandler gitHandler) throws JabRefException | |
| checkStatusOrThrow | back to summary |
|---|---|
| public static GitStatusSnapshot checkStatusOrThrow(GitHandler gitHandler) throws JabRefException | |
| determineSyncStatus | back to summary |
|---|---|
| private static SyncStatus determineSyncStatus(Repository repo, ObjectId localHead, ObjectId remoteHead) throws IOException | |
| determineSyncStatusWithoutRemoteHead | back to summary |
|---|---|
| private static SyncStatus determineSyncStatusWithoutRemoteHead(GitHandler gitHandler) The remote is only consulted to tell "remote exists but is empty" apart from "cannot tell".
Any failure to reach it (no | |
| isRemoteEmpty | back to summary |
|---|---|
| public static boolean isRemoteEmpty(GitHandler gitHandler) throws IOException, GitAPIException | |
| translateStatusFailure | back to summary |
|---|---|
| private static JabRefException translateStatusFailure(Exception exception) | |