-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9b553cc
commit 96b29c5
Showing
6 changed files
with
37 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
//go:build plan9 || windows || (js && wasm) | ||
// +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 | ||
import sshfx "github.com/pkg/sftp/internal/encoding/ssh/filexfer" | ||
|
||
const S_IFMT = uint32(sshfx.ModeType) |
This file was deleted.
Oops, something went wrong.