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

Function RawScriptURL

internal/plugins/communityscripts/scripts.go:667–669  ·  view source on GitHub ↗

RawScriptURL returns the direct raw shell script URL.

(script Script)

Source from the content-addressed store, hash-verified

665
666// RawScriptURL returns the direct raw shell script URL.
667func RawScriptURL(script Script) string {
668 return fmt.Sprintf("%s/%s", RawRepoForScript(script), script.ScriptPath)
669}
670
671func rawScriptURL(script Script) string {
672 return RawScriptURL(script)

Callers 3

rawScriptURLFunction · 0.85
ScriptURLExistsFunction · 0.85

Calls 1

RawRepoForScriptFunction · 0.85

Tested by

no test coverage detected