Documentation ¶
Index ¶
- func DeterminePlatform() (string, error)
- func HashFile(filename string) (string, error)
- func HashString(str string) (string, error)
- func InitNodeBinaries() error
- func InstallPackages() (stdout string, stderr string, err error)
- func RunPrecacheCommand(commandLine string) (stdout string, stderr string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeterminePlatform ¶
DeterminePlatform determines the Node.js runtime platform and mode
func HashString ¶
HashString hashes a given string using SHA-256
func InitNodeBinaries ¶
func InitNodeBinaries() error
InitNodeBinaries makes sure that required Node.js binaries are present
func InstallPackages ¶
InstallPackages installs packages from NPM
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.