mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 23:56:56 +00:00
Other(refactor): Implement locations in Bridge
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user