فهرست منبع

Add GetLibHome stub for non-linux OS

Signed-off-by: Roy Reznik <roy@wiz.io>
Roy Reznik 2 سال پیش
والد
کامیت
ff14f8ef16
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      pkg/homedir/homedir_others.go

+ 5 - 0
pkg/homedir/homedir_others.go

@@ -26,3 +26,8 @@ func GetDataHome() (string, error) {
 func GetConfigHome() (string, error) {
 func GetConfigHome() (string, error) {
 	return "", errors.New("homedir.GetConfigHome() is not supported on this system")
 	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")
+}