Skip to content

Commit

Permalink
fix godoc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin-ward committed Apr 6, 2024
1 parent 8411183 commit 3588ee8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions stat.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 3588ee8

Please sign in to comment.