Add support for fmkpath(), formatted string mkpath()

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2020-03-11 20:03:03 +01:00
1 parent 02a42a1cad
commit 7f3f4df9e9
4 files changed
+74 -11

No files matched your search

+6
View File
@@ -232,6 +232,12 @@ Generic Functions
Like `makepath()`, but also takes a `mode_t` permission mode argument.
- `fmkpath(mode, fmt, ...)`
Like `mkpath()`, but takes a formatted string as argument.
> **Notice:** the swapped order of `pathname` and `mode`!
- `movefile(src, dst)`
Like `copyfile()`, but renames `src` to `dst`, or recreates symlink