DefaultConfigPath returns the default path for a configuration resource "elem" parameters are path components relative to the default cfg directory.
(elem ...string)
| 171 | // DefaultConfigPath returns the default path for a configuration resource |
| 172 | // "elem" parameters are path components relative to the default cfg directory. |
| 173 | func DefaultConfigPath(elem ...string) string { |
| 174 | elem = append([]string{defaultConfigDir}, elem...) |
| 175 | return filepath.Join(elem...) |
| 176 | } |
| 177 | |
| 178 | // DefaultDataPath returns the default path for a data resource. |
| 179 | // "elem" parameters are path components relative to the default data directory. |
no outgoing calls
searching dependent graphs…