Download internal/shell/coreutils_exec.go from SaylorTwift/crush: direct link, hf CLI and curl.
- Browser
- Download file 388 Bytes
-
https://huggingface.co/SaylorTwift/crush/resolve/main/internal/shell/coreutils_exec.go
- Command line
-
hf download hf://SaylorTwift/crush/internal/shell/coreutils_exec.go
-
curl -L -o coreutils_exec.go https://huggingface.co/SaylorTwift/crush/resolve/main/internal/shell/coreutils_exec.go
388 Bytes
| //go:build !solaris && !illumos | |
| package shell | |
| import ( | |
| "mvdan.cc/sh/x/coreutils" | |
| ) | |
| // coreUtilsExecHandler installs mvdan.cc/sh's Go coreutils. It is only wired | |
| // in when useGoCoreUtils is set. On illumos and solaris, coreutils_exec_stub.go | |
| // supplies a nil handler because the coreutils package does not build there. | |
| var coreUtilsExecHandler execMiddleware = coreutils.ExecHandler | |