RawRepoForScript returns the raw GitHub repository URL for a script.
(script Script)
| 656 | |
| 657 | // RawRepoForScript returns the raw GitHub repository URL for a script. |
| 658 | func 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. |
| 667 | func RawScriptURL(script Script) string { |