aboutsummaryrefslogtreecommitdiffstats
path: root/updater/install.h
diff options
context:
space:
mode:
authorMichael Runge <mrunge@google.com>2014-07-21 17:40:02 -0700
committerMichael Runge <mrunge@google.com>2014-07-21 17:40:02 -0700
commita91ecc59b2753a3dcc93b2619559a980074e77bd (patch)
tree0c44c214421c03f2e34ef529f05b419d20a693c8 /updater/install.h
parent945fc68c62692467ddb8b7d714bcf0bf01c783c2 (diff)
downloadbootable_recovery-a91ecc59b2753a3dcc93b2619559a980074e77bd.zip
bootable_recovery-a91ecc59b2753a3dcc93b2619559a980074e77bd.tar.gz
bootable_recovery-a91ecc59b2753a3dcc93b2619559a980074e77bd.tar.bz2
Auto create parent directories for rename support
Sometimes renames will move a file into a directory that does not yet exist. This will create the parent directories, using the same symlink logic, to ensure that there is a valid destination. Change-Id: Iaa005a12ce800c39f4db20f7c25a2a68cb40a52d
Diffstat (limited to 'updater/install.h')
-rw-r--r--updater/install.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/updater/install.h b/updater/install.h
index 94f344f..659c8b4 100644
--- a/updater/install.h
+++ b/updater/install.h
@@ -19,4 +19,6 @@
void RegisterInstallFunctions();
+static int make_parents(char* name);
+
#endif