diff options
author | Alejandro Colomar <alx@kernel.org> | 2024-04-24 15:04:48 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2024-06-18 22:59:43 +0200 |
commit | 40eaf4e4f711978625ecbbdd359caa33d947ec8d (patch) | |
tree | d43515f442780dd198bc3b12f784bf03437d13ab /src/nxt_fs.h | |
parent | 3db000a5399fd688ec0d97b38e784778bdd90375 (diff) | |
download | unit-40eaf4e4f711978625ecbbdd359caa33d947ec8d.tar.gz unit-40eaf4e4f711978625ecbbdd359caa33d947ec8d.tar.bz2 |
fs: Rename nxt_fs_mkdir_all() => nxt_fs_mkdir_p()
"all" is too generic of an attribute to be meaningful. In the context
of mkdir(), "parents" is used for this meaning, as in mkdir -p, so it
should be more straightforward to readers.
Tested-by: Andy Postnikov <apostnikov@gmail.com>
Tested-by: Andrew Clayton <a.clayton@nginx.com>
Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'src/nxt_fs.h')
-rw-r--r-- | src/nxt_fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_fs.h b/src/nxt_fs.h index 3ee0928c..9a256bd2 100644 --- a/src/nxt_fs.h +++ b/src/nxt_fs.h @@ -7,7 +7,7 @@ nxt_int_t nxt_fs_mkdir_dirname(const u_char *path, mode_t mode); -nxt_int_t nxt_fs_mkdir_all(const u_char *dir, mode_t mode); +nxt_int_t nxt_fs_mkdir_p(const u_char *dir, mode_t mode); #endif /* _NXT_FS_H_INCLUDED_ */ |