mirror of
https://github.com/troglobit/libite.git
synced 2026-10-28 12:20:45 +00:00
Add recursive mkpath() and makepath(), works like mkdir -p
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
c5366a33da
commit
1561e7567e
4 files changed
+132
-1
No files matched your search
@@ -86,6 +86,14 @@ Generic Functions
|
||||
`dst` is allowed to be `NULL` to be able to read and discard `len`
|
||||
bytes from `src`.
|
||||
|
||||
- `makepath(dir)`
|
||||
|
||||
Create all components of the specified directory.
|
||||
|
||||
- `mkpath(dir, mode)`
|
||||
|
||||
Like `makepath()`, but also takes a `mode_t` permission mode argument.
|
||||
|
||||
- `movefile(src, dst)`
|
||||
|
||||
Like `copyfile()`, but renames `src` to `dst`, or recreates symlink
|
||||
|
||||
Reference in new issue
Block a user