commit | fccb2d0eb1065d06a62c890df382ad3e7a6f00cb | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Sun Jan 26 16:11:19 2020 -0800 |
committer | Austin Schuh <austin.linux@gmail.com> | Fri Jan 31 21:21:43 2020 -0800 |
tree | 85eb2ed718c027f5e7c4a6b2075f07c74cb3a3ff | |
parent | 9652a13c9fb8dd93c1e34c208ea3223cab1fc986 [diff] [blame] |
Refactor MkdirP out into a utility. We want to use it again! Change-Id: Iec72840e8fa1a8915e8176842f865a2f8acbfd93
diff --git a/aos/util/file.h b/aos/util/file.h index 3aebd87..d6724af 100644 --- a/aos/util/file.h +++ b/aos/util/file.h
@@ -15,6 +15,8 @@ void WriteStringToFileOrDie(const std::string_view filename, const std::string_view contents); +void MkdirP(std::string_view path, mode_t mode); + } // namespace util } // namespace aos