commitMetadataHistory: commit any changes to the metadata history git repo

View source: R/commitMetadataHistory.R

commitMetadataHistoryR Documentation

commit any changes to the metadata history git repo

Description

commit any changes to the metadata history git repo

Usage

commitMetadataHistory(meta)

Arguments

meta:

safeSQL object to DB containing table meta to which the metadata commit hash will be written as a key-value pair c('hash', hash).

Details

Any changes to the files in the metadata history git repository are committed and pushed upstream.

Value

TRUE on success. Generates an error on failure.

Note

This function uses lockSsymbol('metadata_history') to protect access to the git repo, but this function must be called within an EXCLUSIVE transaction on meta that is both begun and committed by the caller.

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


MotusWTS/motusServer documentation built on April 12, 2025, 2:34 p.m.