internal/test/testsuite/socket_windows.go
raw| 1 | //go:build windows |
| 2 | |
| 3 | package testsuite |
| 4 | |
| 5 | // GetGIDOfFile returns 0 on Windows as the concept of GID is not used. |
| 6 | func GetGIDOfFile(_ string) (int, error) { |
| 7 | return 0, nil |
| 8 | } |
| 9 | |
| 10 | // GetPermissionsOfFile returns an empty string on Windows as file permission |
| 11 | // bits are not represented in the same way as on Unix systems. |
| 12 | func GetPermissionsOfFile(_ string) (string, error) { |
| 13 | return "", nil |
| 14 | } |