Description Usage Arguments Value See Also
digest_if_file_exists
returns a character vector with the hashed digest
of the file, or NA
if the file does not exist.
1 | digest_if_exists(file, alg = NA_character_)
|
file |
A string containing the path to a file. |
alg |
A string containing the name of the digest algorithm to use. Set the algorithm with 'options(blogdown.digest = <algorithm>)'. If no option was set, use crc32. |
A string: if the file exists return the digest. Otherwise, return
NA
.
digest
for details about available algorithms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.