Codebase list golang-github-pkg-sftp / run/64776a83-b5e2-4895-be65-fef950db64b3/upstream syscall_fixed.go
run/64776a83-b5e2-4895-be65-fef950db64b3/upstream

Tree @run/64776a83-b5e2-4895-be65-fef950db64b3/upstream (Download .tar.gz)

syscall_fixed.go @run/64776a83-b5e2-4895-be65-fef950db64b3/upstreamraw · history · blame

1
2
3
4
5
6
7
8
9
// +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