cctools
|
Go to the source code of this file.
Functions | |
int | file_link_recursive (const char *source, const char *target, int allow_symlink) |
Make a hard link from source to target. More... | |
Make deep links to directories.
int file_link_recursive | ( | const char * | source, |
const char * | target, | ||
int | allow_symlink | ||
) |
Make a hard link from source to target.
If source is a directory, do it recursively.
source | The source path to link to. |
target | The target path to create. |
allow_symlink | If true, attempt symbolic links if hard links fail. |