create_sqlite_hash_file: Create SHA256 hash file for a SQLite database

View source: R/github_release_utils.R

create_sqlite_hash_fileR Documentation

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")

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").

Value

Invisibly returns the path to the hash file.

Examples

## Not run: 
create_sqlite_hash_file("database.sqlite")

## End(Not run)

acdcquery documentation built on Feb. 19, 2026, 5:07 p.m.