MCPcopy Create free account
hub / github.com/gokcehan/lf / exportLfPath

Function exportLfPath

main.go:159–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157}
158
159func exportLfPath() {
160 lfPath, err := os.Executable()
161 if err != nil {
162 log.Printf("getting path to lf binary: %s", err)
163 lfPath = "lf"
164 }
165 os.Setenv("lf", quoteString(lfPath))
166}
167
168func exportOpts() {
169 for key, value := range getOptsMap() {

Callers 1

runShellMethod · 0.85

Calls 1

quoteStringFunction · 0.70

Tested by

no test coverage detected