"Fossies" - the Fresh Open Source Software Archive

Member "cli-1.1280.1/cliv2/internal/embedded/cliv1/embedded_binary_template.txt" (20 Feb 2024, 293 Bytes) of package /linux/misc/snyk-cli-1.1280.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 //go:build application
    2 package cliv1
    3 
    4 import (
    5 	_ "embed"
    6 )
    7 
    8 //go:embed FILENAME
    9 var snykCLIBytes []byte
   10 
   11 func getCLIv1Filename() string {
   12 	return "FILENAME"
   13 }
   14 
   15 //go:embed FILENAME.sha256
   16 var snykCLISHA256 string
   17 
   18 func ExpectedSHA256() string {
   19 	sha256 := snykCLISHA256[0:64]
   20 	return sha256
   21 }