Sign in
chromium
/
external
/
github.com
/
pkg
/
sftp
/
refs/heads/refactor/start-using-filexfer
/
.
/
request_windows.go
blob: 6886d26a63dff0633cf35b66c93ec3a0358948ac [
file
] [
log
] [
blame
] [
edit
]
package sftp
import (
"fmt"
"syscall"
)
func testFileInfoSysOS(sys interface{}) error {
switch sys := sys.(type) {
case *syscall.Win32FileAttributeData:
default:
return fmt.Errorf("unexpected FileInfo.Sys() type: %T", sys)
}
return nil
}