Skip to contents

List every tag on a template

Usage

lq_tag_list(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_tags data frame with tag and commit columns.

Examples

store <- withr::local_tempdir()
lq_init(store)
lq_add(store, "letter.md", "v1")
lq_tag(store, "letter.md", "final")
lq_tag_list(store, "letter.md")
#> lengua tag list: 1 tag
#>     tag                                   commit
#> 1 final b707cff985bc7b2c56c4e6c9eb653d30d85fe70b