util

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompressDirectory

func CompressDirectory(srcDirectory string, destPath string) (string, error)

func DiagFromGqlError

func DiagFromGqlError(errors GqlErrors) diag.Diagnostics

func GenerateBundleSignature

func GenerateBundleSignature(bundleDirectory string, bundlePath string) (string, string, error)

func GetSha1Signature

func GetSha1Signature(path string) (string, error)

func UploadFile

func UploadFile(localPath string, uploadUrl string, contentType string) error

Types

type GqlErrors

type GqlErrors []struct {
	Field    graphql.String
	Messages []graphql.String
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL