Debian Codegraph @

engine/pkg/homedir/homedir_others.go

raw symbols SCIP
1 //go:build !linux
2
3 package homedir
4
5 import (
6 "errors"
7 )
8
9 // GetRuntimeDir is unsupported on non-linux system.
10 func GetRuntimeDir() (string, error) {
11 return "", errors.New("homedir.GetRuntimeDir() is not supported on this system")
12 }
13
14 // StickRuntimeDirContents is unsupported on non-linux system.
15 func StickRuntimeDirContents(files []string) ([]string, error) {
16 return nil, errors.New("homedir.StickRuntimeDirContents() is not supported on this system")
17 }
18
19 // GetDataHome is unsupported on non-linux system.
20 func GetDataHome() (string, error) {
21 return "", errors.New("homedir.GetDataHome() is not supported on this system")
22 }
23
24 // GetConfigHome is unsupported on non-linux system.
25 func GetConfigHome() (string, error) {
26 return "", errors.New("homedir.GetConfigHome() is not supported on this system")
27 }
28
29 // GetLibHome is unsupported on non-linux system.
30 func GetLibHome() (string, error) {
31 return "", errors.New("homedir.GetLibHome() is not supported on this system")
32 }