Learn R Programming

acdcquery (version 1.2.3)

create_sqlite_hash_file: Create SHA256 hash file for a SQLite database

Description

Computes a SHA256 hash for a SQLite database file and writes it to a .sha256 file. The hash file can be uploaded alongside the database in a GitHub release to allow version comparison without downloading the full database.

Usage

create_sqlite_hash_file(sqlite_path, output_file = NULL, algo = "sha256")

Value

Invisibly returns the path to the hash file.

Arguments

sqlite_path

Path to the SQLite file.

output_file

Optional output path for the hash file. Defaults to <sqlite_path>.sha256.

algo

Hash algorithm (default: "sha256").

Examples

Run this code
if (FALSE) {
create_sqlite_hash_file("database.sqlite")
}

Run the code above in your browser using DataLab