MCPcopy
hub / github.com/hashicorp/go-getter / Detect

Method Detect

detect.go:15–15  ·  view source on GitHub ↗

Detect will detect whether the string matches a known pattern to turn it into a proper URL.

(string, string)

Source from the content-addressed store, hash-verified

13 // Detect will detect whether the string matches a known pattern to
14 // turn it into a proper URL.
15 Detect(string, string) (string, bool, error)
16}
17
18// Detect is a method used to detect if a Getter is a candidate for downloading an artifact

Callers 1

DetectFunction · 0.65

Implementers 15

SmbClientGetterget_smbclient.go
FileDetectordetect_file.go
HgGetterget_hg.go
GitDetectordetect_git.go
GitLabDetectordetect_gitlab.go
BitBucketDetectordetect_bitbucket.go
GitHubDetectordetect_github.go
FileGetterget_file.go
GitGetterget_git.go
SmbMountGetterget_smb_mount.go
HttpGetterget_http.go
MockGetterget_mock.go

Calls

no outgoing calls

Tested by

no test coverage detected