Movatterモバイル変換


[0]ホーム

URL:


gitauth

package
v2.23.0Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2025 License:AGPL-3.0Imports:10Imported by:0

Details

Repository

github.com/coder/coder

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcCheckCommand

func CheckCommand(args, env []string)bool

CheckCommand returns true if the command arguments and environmentmatch those when the GIT_ASKPASS command is invoked by git.

funcOverrideVSCodeConfigs

func OverrideVSCodeConfigs(fsafero.Fs)error

OverrideVSCodeConfigs overwrites a few properties to consumeGIT_ASKPASS from the host instead of VS Code-specific authentication.

funcParseAskpass

func ParseAskpass(promptstring) (userstring, hoststring, errerror)

ParseAskpass returns the user and host from a git askpass prompt. Forexample: "user1" and "https://github.com". Note that for HTTPprotocols, the URL will never contain a path.

For details on how the prompt is formatted, see `credential_ask_one`:https://github.com/git/git/blob/bbe21b64a08f89475d8a3818e20c111378daa621/credential.c#L173-L191

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp