Description Usage Arguments Details Value
Compares whether the content of the files in two directory are identical. This can be useful when you cannot rely on the timestamps or the size of the files to know if their contents have changed.
1 | compare_folders(path_1, path_2, ...)
|
path_1 |
path of the first folder to compare |
path_2 |
path of the second folder to compare |
... |
additional arguments to be passed to |
By default, to compare the content of the files, the following arguments are
passed to fs::dir_ls
:
recurse = TRUE
type = "file"
.
Files that are only found in one folder will have NA
in the identical
column.
a tibble with 4 columns:
the names of the files that are found in both folders
their respective MD5 hashes
whether the hashes (and therefore the files) are identical
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.