mirror of
https://github.com/GoogleContainerTools/kaniko.git
synced 2026-05-16 13:20:33 +00:00
76624697df
* Bump github.com/docker/docker to latest release * Pin deps to docker/docker's requirements fix build breakages fix unit test Trying to see whether am-i-in-a-container checks are broken for integration tests...
16 lines
364 B
Go
16 lines
364 B
Go
package winapi
|
|
|
|
import "syscall"
|
|
|
|
//sys RtlNtStatusToDosError(status uint32) (winerr error) = ntdll.RtlNtStatusToDosError
|
|
|
|
const (
|
|
STATUS_REPARSE_POINT_ENCOUNTERED = 0xC000050B
|
|
ERROR_NO_MORE_ITEMS = 0x103
|
|
ERROR_MORE_DATA syscall.Errno = 234
|
|
)
|
|
|
|
func NTSuccess(status uint32) bool {
|
|
return status == 0
|
|
}
|