Skip to contents

Show a template's commit history

Usage

lq_log(path, name, source = NULL)

Arguments

path

Path to the library.

name

Template name.

source

Which source to read. Required if the library has more than one source.

Value

A lenguar_log data frame with commit and message columns, newest first.

Examples

store <- withr::local_tempdir()
lq_init(store)
lq_add(store, "hello.md", "v1", message = "first cut")
lq_log(store, "hello.md")
#> lengua log: 1 commit
#>                                     commit   message
#> 1 f3b4e974280ef868939500d25c92132c34674c96 first cut