MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / RawRepoForScript

Function RawRepoForScript

internal/plugins/communityscripts/scripts.go:658–664  ·  view source on GitHub ↗

RawRepoForScript returns the raw GitHub repository URL for a script.

(script Script)

Source from the content-addressed store, hash-verified

656
657// RawRepoForScript returns the raw GitHub repository URL for a script.
658func RawRepoForScript(script Script) string {
659 if script.IsDev {
660 return RawGitHubDevRepo
661 }
662
663 return RawGitHubRepo
664}
665
666// RawScriptURL returns the direct raw shell script URL.
667func RawScriptURL(script Script) string {

Callers 1

RawScriptURLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected