idun/vendor/github.com/pkg/sftp/syscall_fixed.go
kekskurse 8ad61755e6 init
2023-10-12 10:20:53 +02:00

10 lines
314 B
Go

//go:build plan9 || windows || (js && wasm)
// +build plan9 windows js,wasm
// Go defines S_IFMT on windows, plan9 and js/wasm as 0x1f000 instead of
// 0xf000. None of the the other S_IFxyz values include the "1" (in 0x1f000)
// which prevents them from matching the bitmask.
package sftp
const S_IFMT = 0xf000