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

gitcreds_cache_envvar

Environment variable to cache the password for a URL


Description

gitcreds_get() caches credentials in environment variables. gitcreds_cache_envvar() calculates the environment variaable name that is used as the cache, for a URL.

Usage

gitcreds_cache_envvar(url)

Arguments

url

Character vector of URLs, they may contain user names and paths as well. See details below.

Value

Character vector of environment variables.

See Also

Examples

gitcreds_cache_envvar("https://github.com")
gitcreds_cache_envvar("https://api.github.com/path/to/endpoint")
gitcreds_cache_envvar("https://jane@github.com")
gitcreds_cache_envvar("https://another.site.github.com")

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.