()
| 103 | } |
| 104 | |
| 105 | func NerdctlTOML() string { |
| 106 | if !rootlessutil.IsRootless() { |
| 107 | return "/etc/nerdctl/nerdctl.toml" |
| 108 | } |
| 109 | xch, err := rootlessutil.XDGConfigHome() |
| 110 | if err != nil { |
| 111 | panic(err) |
| 112 | } |
| 113 | return filepath.Join(xch, "nerdctl/nerdctl.toml") |
| 114 | } |
| 115 | |
| 116 | func HostsDirs() []string { |
| 117 | if !rootlessutil.IsRootless() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…