MCPcopy Create free account
hub / github.com/containerd/nerdctl / XDGRuntimeDir

Function XDGRuntimeDir

pkg/rootlessutil/rootlessutil_other.go:47–49  ·  view source on GitHub ↗

Always errors out on non-Linux platforms.

()

Source from the content-addressed store, hash-verified

45
46// Always errors out on non-Linux platforms.
47func XDGRuntimeDir() (string, error) {
48 return "", fmt.Errorf("can only query XDG env vars on Linux")
49}
50
51// Always returns -1 on non-Linux platforms.
52func ParentEUID() int {

Callers 8

CNIRuntimeDirFunction · 0.92
CDISpecDirsFunction · 0.92
CreateSocketDirFunction · 0.92
GetSocketPathByIDFunction · 0.92
GetPidFilePathByIDFunction · 0.92
ContainerdAddressMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…