gitcreds_fill {gitcreds}R Documentation

Access the low level credential API

Description

These function are primarily for package authors, who want more control over the user interface, so they want to avoid calling gitcreds_get() and gitcreds_set() directly.

Usage

gitcreds_fill(input, args = character(), dummy = TRUE)

gitcreds_approve(creds, args = character())

gitcreds_reject(creds, args = character())

Arguments

input

Named list to pass to ⁠git credential fill⁠.

args

Extra args, used before fill, to allow ⁠git -c ... fill⁠.

dummy

Whether to append a dummy credential helper to the list of credential helpers.

creds

gitcreds object (named list) to add or remove.

Details

gitcreds_fill() calls ⁠git credential fill⁠ to query git credentials.

gitcreds_approve() calls ⁠git credential approve⁠ to add new credentials.

Value

The standard output of the git command, line by line.

See Also

gitcreds_parse_output() to parse the output of gitcreds_fill().


[Package gitcreds version 0.1.2 Index]