MCPcopy
hub / github.com/getsops/sops / GetPipe

Function GetPipe

cmd/sops/subcommand/exec/exec_unix.go:35–43  ·  view source on GitHub ↗
(dir, filename string)

Source from the content-addressed store, hash-verified

33}
34
35func GetPipe(dir, filename string) (string, error) {
36 tmpfn := filepath.Join(dir, filename)
37 err := syscall.Mkfifo(tmpfn, 0600)
38 if err != nil {
39 return "", err
40 }
41
42 return tmpfn, nil
43}
44
45func UserEnv(username string) []string {
46 u, err := user.Lookup(username)

Callers 1

ExecWithFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected