Open timotheecour opened 3 years ago
Would it be better to make something like
func getXdg*(items = {XdgHome, XdgData, XdgTemp})
Because theres multiple paths in XDG_*
; Then the pre-existent proc can be a
template getHome*() = getXdg({XdgHome})
.
but XDG doesn't translate to windows; that's why we're going for these instead: getHomeDir getTempDir getConfigDir getCacheDir getDataDir (no PR yet for this)
(analog to getTempDir and getConfigDir in std/os)
refs https://github.com/nim-lang/Nim/pull/18119#issuecomment-850806138
links
getCacheDir
)