update_site_digests calculates hashed digests for a site.

update_site_digests(dir = find_blog_content(), partial = FALSE)

Arguments

dir

A string with the name of the directory to search (by default the "content" directory at the top-level directory of the site)

partial

Logical. If TRUE, keep digests for source files that aren't in the specified directory and its children and descendants. Otherwise, get rid of the old digest file and only keep digests for source files in the source directory and its descendants.

Value

The path to the digest file.

Details

Generates new hashed digests for both source and destination (output) files and save the digests to a file "digests.Rds" in the root directory of the site.

See also