This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
Use upstream gps lock diff implementation #312
Closed
Description
From #256, I implemented lock diffing and thought it may be more appropriate to have it in the gps
package. At the very least it would remove some workarounds I had to put in because of unexported fields. Though one option is to update gps
to export those fields and keep the diffing in dep
.
dep.LockDiff struct
,dep.LockedProjectDiff struct
,dep.StringDiff struct
. These are the structures which hold the diff and are printed to the console during a dry-run.dep.diffLocks()
,dep.diffProjects()
. The diff implementation.dep.getVersionInfo()
: Decomposes agps.Version
interface into the underlying metadata that is persisted in the lock file (revision, branch and version).
Metadata
Metadata
Assignees
Labels
No labels