forked from toolshed/abra
chore: go mod tidy / vendor / make deps
This commit is contained in:
14
vendor/github.com/docker/cli/opts/envfile_deprecated.go
generated
vendored
Normal file
14
vendor/github.com/docker/cli/opts/envfile_deprecated.go
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
package opts
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/docker/cli/pkg/kvfile"
|
||||
)
|
||||
|
||||
// ParseEnvFile reads a file with environment variables enumerated by lines
|
||||
//
|
||||
// Deprecated: use [kvfile.Parse] and pass [os.LookupEnv] to lookup env-vars from the current environment.
|
||||
func ParseEnvFile(filename string) ([]string, error) {
|
||||
return kvfile.Parse(filename, os.LookupEnv)
|
||||
}
|
||||
Reference in New Issue
Block a user