diff --git a/stat.go b/stat.go index f0e68b9..a34a98f 100644 --- a/stat.go +++ b/stat.go @@ -85,9 +85,5 @@ const ( s_ISVTX = uint32(sshfx.ModeSticky) ) -// Legacy export: -// -// 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. +// S_IFMT is a legacy export. `sshfx.ModeType` should be used instead const S_IFMT = uint32(sshfx.ModeType)