Add GetLibHome stub for non-linux OS
Signed-off-by: Roy Reznik <roy@wiz.io>
This commit is contained in:
parent
9052e33a10
commit
ff14f8ef16
1 changed files with 5 additions and 0 deletions
|
@ -26,3 +26,8 @@ func GetDataHome() (string, error) {
|
|||
func GetConfigHome() (string, error) {
|
||||
return "", errors.New("homedir.GetConfigHome() is not supported on this system")
|
||||
}
|
||||
|
||||
// GetLibHome is unsupported on non-linux system.
|
||||
func GetLibHome() (string, error) {
|
||||
return "", errors.New("homedir.GetLibHome() is not supported on this system")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue