github.com/pkg/sftp@v1.13.6/syscall_fixed.go (about) 1 //go:build plan9 || windows || (js && wasm) 2 // +build plan9 windows js,wasm 3 4 // Go defines S_IFMT on windows, plan9 and js/wasm as 0x1f000 instead of 5 // 0xf000. None of the the other S_IFxyz values include the "1" (in 0x1f000) 6 // which prevents them from matching the bitmask. 7 8 package sftp 9 10 const S_IFMT = 0xf000