StreamByName opens a stream reading from an executable given its name
(name string)
| 41 | |
| 42 | // StreamByName opens a stream reading from an executable given its name |
| 43 | func StreamByName(name string) (io.ReadCloser, error) { |
| 44 | return os.Open(filepath.Clean(name)) |
| 45 | } |
| 46 | |
| 47 | // Get gets the hashcode of the executable of this binary |
| 48 | func Get() (string, error) { |
no outgoing calls
no test coverage detected