Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gitcreds-api

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().


gitcreds

Query 'git' Credentials from 'R'

v0.1.1
MIT + file LICENSE
Authors
Gábor Csárdi
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.