runningWithRootlessKit is a fork of [rootless.RunningWithRootlessKit], but inlining it to prevent adding that as a dependency for docker/cli. [rootless.RunningWithRootlessKit]: https://github.com/moby/moby/blob/b4bdf12daec84caaf809a639f923f7370d4926ad/pkg/rootless/rootless.go#L5-L8
()
| 73 | // |
| 74 | // [rootless.RunningWithRootlessKit]: https://github.com/moby/moby/blob/b4bdf12daec84caaf809a639f923f7370d4926ad/pkg/rootless/rootless.go#L5-L8 |
| 75 | func runningWithRootlessKit() bool { |
| 76 | return runtime.GOOS == "linux" && os.Getenv("ROOTLESSKIT_STATE_DIR") != "" |
| 77 | } |
| 78 | |
| 79 | // CertsDir is the directory where certificates are stored. |
| 80 | // |
no outgoing calls
no test coverage detected
searching dependent graphs…