File: gitcreds_cache_envvar.Rd

package info (click to toggle)
r-cran-gitcreds 0.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 448 kB
  • sloc: sh: 13; makefile: 2
file content (29 lines) | stat: -rw-r--r-- 895 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aaa-doc.R
\name{gitcreds_cache_envvar}
\alias{gitcreds_cache_envvar}
\title{Environment variable to cache the password for a URL}
\usage{
gitcreds_cache_envvar(url)
}
\arguments{
\item{url}{Character vector of URLs, they may contain user names
and paths as well. See details below.}
}
\value{
Character vector of environment variables.
}
\description{
\code{gitcreds_get()} caches credentials in environment variables.
\code{gitcreds_cache_envvar()} calculates the environment variaable name
that is used as the cache, for a URL.
}
\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")
}
\seealso{
\code{\link[=gitcreds_get]{gitcreds_get()}}.
}