Other(refactor): Implement locations in Bridge

This commit is contained in:
James Houlahan
2022-08-19 11:12:34 +02:00
committed by Jakub
parent e4f08f79c3
commit ee5a126c1c
3 changed files with 16 additions and 4 deletions

View File

@ -45,6 +45,14 @@ func (l *fakeLocations) ProvideSettingsPath() (string, error) {
return l.dir, nil
}
func (l *fakeLocations) GetDependencyLicensesLink() string {
return "/path/to/dependencies"
}
func (l *fakeLocations) GetLicenseFilePath() string {
return "/path/to/license"
}
func (l *fakeLocations) Clear() error {
return os.RemoveAll(l.dir)
}