mirror of https://github.com/pkg/sftp.git
fix godoc comment
This commit is contained in:
parent
8411183d33
commit
3588ee80db
6
stat.go
6
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)
|
||||
|
|
Loading…
Reference in New Issue