Check whether a file / path exists and return an error when it cannot be overwritten.
1 | check_overwriting_clearance(path, over_write, fun = file.exists)
|
path |
The path to the root directory of the gitsum repository. |
over_write |
Whether or not existing files / directories should be overwritten. |
fun |
The function to apply to the path, either file.exists, or dir.exists. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.