Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Opps
/
athunderx
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
athunderx
/
pkg
/
utils
/
ctx.go
Mr.L
feat: add full alist source code for Docker build
7107f0b
7 days ago
raw
Copy download link
history
blame
contribute
delete
Safe
156 Bytes
package
utils
import
(
"context"
)
func
IsCanceled
(ctx context.Context)
bool
{
select
{
case
<-ctx.Done():
return
true
default
:
return
false
}
}