errutil

package
v0.8.11 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const EarthlyGitStdErrMagicString = "EARTHLY_GIT_STDERR"

Variables

This section is empty.

Functions

func ExtractEarthlyGitStdErr

func ExtractEarthlyGitStdErr(errStr string) (extracted, shorterErr string, ok bool)

ExtractEarthlyGitStdErr scans an error string for a base64 payload that contains the git stderr and returns the extracted stderr and a shorter error string which does not include the base64 payload. if no payload was extracted, then false is returned

Types

This section is empty.

Jump to

Keyboard shortcuts

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