You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
internal/gps: add PruneOptions and update WriteDepTree
This commit changes gps.WriteDepTree to be a method on gps.SourceManager.
It also updates the signature to accept a PruneOptions instead of a bool.
The manfiest is updated to accept a new table, prune. This table defines
pruning options accepted by dep. By default, dep will always prune nested
vendor directories. The user can define 3 additional rules:
* non-go: Prune non-Go files (will keep LICENSE & COPYING files)
* go-tests: Prune Go test files
* unused-packages: Prune unused Go packages from dependencies.
The implementation of these flags is not part of this commit.
Signed-off-by: Ibrahim AshShohail <[email protected]>
0 commit comments