helpers

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFallback = errors.New("falling back to python gcloud")
View Source
var ErrFallbackNoToken = errors.New("falling back to python gcloud with no token")

Functions

func LookPathPreamble

func LookPathPreamble(file string, preamble string) (string, error)

LookPath searches for an executable named file in the directories named by the PATH environment variable. The result will be an absolute path

Ensure file contents have specific preamble (#!/bin/sh)

Types

This section is empty.

Jump to

Keyboard shortcuts

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