Skip to content
Snippets Groups Projects
  • Colin Walters's avatar
    1c0bfd24
    dirfd: Add glnx_ensure_dir() · 1c0bfd24
    Colin Walters authored
    Another one where we have a lot of inlines in ostree at least. Not the same as
    `glnx_shutil_mkdir_p_at()` since in these cases we don't want automatic
    intermediate dirs, and it's cheaper to just call `mkdirat()` and handle `EEXIST`
    rather than do a `stat()` first.
    1c0bfd24
    History
    dirfd: Add glnx_ensure_dir()
    Colin Walters authored
    Another one where we have a lot of inlines in ostree at least. Not the same as
    `glnx_shutil_mkdir_p_at()` since in these cases we don't want automatic
    intermediate dirs, and it's cheaper to just call `mkdirat()` and handle `EEXIST`
    rather than do a `stat()` first.