Download internal/server/socket.go from SaylorTwift/crush: direct link, hf CLI and curl.
- Browser
- Download file 264 Bytes
-
https://huggingface.co/SaylorTwift/crush/resolve/main/internal/server/socket.go
- Command line
-
hf download hf://SaylorTwift/crush/internal/server/socket.go
-
curl -L -o socket.go https://huggingface.co/SaylorTwift/crush/resolve/main/internal/server/socket.go
264 Bytes
| //go:build !windows | |
| package server | |
| // isStaleSocketErr is the internal, non-Windows alias for the | |
| // cross-platform IsStaleSocketErr. It is kept for the existing | |
| // callers in net_other.go. | |
| func isStaleSocketErr(err error) bool { | |
| return IsStaleSocketErr(err) | |
| } | |