github.com/whosonfirst/wof v0.0.3
Creates a child process with Go exec.CommandImports google.golang.org/grpc package
SHA-2565f0b3caa3d5831ccbf6f75389b88c50bdeb22e0ff2c208349ea7fe6e6f8b7c9a
MaleculeH₂(CmPo₂)
Evidence
17:34… function defined by individual command package and used to create
18// an instance of that command
19type CommandInitializationFunc func(ctx context.Context, cmd string) (Command, error)
20
62:36… ionFunc)
63 return init_func(ctx, cmd)
64}
65
66// Commands returns the list of command that have been registered.
67func Commands() []string {
68
⋯4 lines
68:7… n nil
69}
70
71func open(editor string, path string) error {
72
73 cmd := exec.Command("sh", "-c", editor+" "+path)
74 cmd.Stdin = os.Stdin
75 cmd.Stdout = os.Stdout
76 cmd.Stderr = os.Stderr
77
78 return cmd.Run()
79}
136 google.golang.org/api v0.169.0 // indirect
137 google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 // indirect
138 google.golang.org/grpc v1.62.1 // indirect
139 google.golang.org/protobuf v1.33.0 // indirect
140 modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 // indirect
5#!/bin/sh
Showing the top 5 files — 2 more files (6 regions) not shown.
No evidence locations were recorded for this file. Raw result