commit | e91631558898a0b8f7a3ea2b74b7726d78c2f227 | [log] [tgz] |
---|---|---|
author | Alex Vallée <avallee@chromium.org> | Wed May 06 17:22:25 2015 -0400 |
committer | Alex Vallée <avallee@google.com> | Wed Jul 15 19:37:18 2015 +0000 |
tree | 2ca29844619ea96de5b419da849a650a227d9c48 | |
parent | a53c848ebcbddde75415bf18f2d26e01a0e60758 [diff] [blame] |
Move mkdirs to adb_utils. There were duplicate implementations in commandline.cpp and file_sync_client.cpp. Change-Id: Ib448f76c0d7ffdcd577336b1c610a881425bc2db
diff --git a/adb_utils.h b/adb_utils.h index 84f7d0c..c816d00 100644 --- a/adb_utils.h +++ b/adb_utils.h
@@ -22,6 +22,8 @@ bool getcwd(std::string* cwd); bool directory_exists(const std::string& path); +int mkdirs(const char *path); + std::string escape_arg(const std::string& s); void dump_hex(const void* ptr, size_t byte_count);