moby/internal/compatcontext
Paweł Gronowski f6e44bc0e8
internal: Add compatcontext.WithoutCancel
Copy the implementation of `context.WithoutCancel` introduced in Go 1.21
to be able to use it when building with older versions.
This will use the stdlib directly when building with Go 1.21+.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2023-09-27 11:46:30 +02:00
..
cancel.go internal: Add compatcontext.WithoutCancel 2023-09-27 11:46:30 +02:00
cancel_go121.go internal: Add compatcontext.WithoutCancel 2023-09-27 11:46:30 +02:00