commit | 6e586e7ad54315ca6ac78eae383cf5a988681c06 | [log] [tgz] |
---|---|---|
author | James Sullivan <jfsulliv@google.com> | Tue Jan 26 18:12:22 2021 +0000 |
committer | CQ Bot <commit-bot@chromium.org> | Tue Jan 26 18:12:22 2021 +0000 |
tree | 1544aeec835eb46a1a4b007b4539b317a3ad3cd3 | |
parent | 631f8518e42e19809c416e8f7ec1bf3485fd6d88 [diff] |
[io_util] Add create_directory helper In fuchsia.io, there is no equivalent to mkdir(2), and clients are expected to use Open with special flags set (mainly (mode & S_IFDIR)). Add a helper create_directory to encapsulate this. Tested: Unit. Change-Id: Iff08132e4abe75b71aa11461e12a77327fd2f5c0 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/474637 Fuchsia-Auto-Submit: James Sullivan <jfsulliv@google.com> Reviewed-by: Stephen Demos <sdemos@google.com> Commit-Queue: James Sullivan <jfsulliv@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.