Skip to main content

Module textconv_cache

Module textconv_cache 

Source
Expand description

Git-compatible diff.<driver>.cachetextconv storage under refs/notes/textconv/<driver>.

Matches Git’s notes-cache.c: the notes ref’s commit subject stores the current diff.<driver>.textconv command string; when it changes, the cache is treated as empty.

Functions§

read_textconv_cache
Read cached textconv bytes for blob_oid, or None on miss / invalid cache.
write_textconv_cache
Store data as the note for blob_oid. Errors are ignored (read-only repos).