mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-16 07:06:45 +00:00
Other(refactor): Implement locations in Bridge
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
package bridge
|
||||
|
||||
func (bridge *Bridge) ProvideLogsPath() (string, error) {
|
||||
panic("TODO")
|
||||
return bridge.locations.ProvideLogsPath()
|
||||
}
|
||||
|
||||
func (bridge *Bridge) GetLicenseFilePath() string {
|
||||
panic("TODO")
|
||||
return bridge.locations.GetLicenseFilePath()
|
||||
}
|
||||
|
||||
func (bridge *Bridge) GetDependencyLicensesLink() string {
|
||||
panic("TODO")
|
||||
return bridge.locations.GetDependencyLicensesLink()
|
||||
}
|
||||
|
||||
@ -24,9 +24,13 @@ import (
|
||||
)
|
||||
|
||||
type Locator interface {
|
||||
ProvideLogsPath() (string, error)
|
||||
|
||||
GetLicenseFilePath() string
|
||||
GetDependencyLicensesLink() string
|
||||
|
||||
Clear() error
|
||||
ClearUpdates() error
|
||||
ProvideLogsPath() (string, error)
|
||||
}
|
||||
|
||||
type CacheProvider interface {
|
||||
|
||||
Reference in New Issue
Block a user