Skip to content

Commit

Permalink
Relocate vendorCodeExists() method
Browse files Browse the repository at this point in the history
Fixes sdboyer/gps#81, even if sloppy.
  • Loading branch information
sdboyer committed Sep 13, 2016
1 parent 31380c7 commit 17df8cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions solve_basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1272,10 +1272,6 @@ func (sm *depspecSourceManager) SyncSourceFor(id ProjectIdentifier) error {
return nil
}

func (sm *depspecSourceManager) VendorCodeExists(id ProjectIdentifier) (bool, error) {
return false, nil
}

func (sm *depspecSourceManager) Release() {}

func (sm *depspecSourceManager) ExportProject(id ProjectIdentifier, v Version, to string) error {
Expand Down Expand Up @@ -1337,6 +1333,10 @@ func (b *depspecBridge) ListPackages(id ProjectIdentifier, v Version) (PackageTr
return b.sm.(fixSM).ListPackages(id, v)
}

func (sm *depspecBridge) vendorCodeExists(id ProjectIdentifier) (bool, error) {
return false, nil
}

// enforce interfaces
var _ Manifest = depspec{}
var _ Lock = dummyLock{}
Expand Down

0 comments on commit 17df8cf

Please sign in to comment.