base

package
v0.0.0-...-abfb1be Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: BSD-3-Clause, Unlicense Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvForDir

func EnvForDir(dir string, base []string) []string

EnvForDir returns a modified environment suitable for running in the given directory. The environment is the supplied base environment but with an updated $PWD, so that an os.Getwd in the child will be faster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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