1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:04:42 -07:00
go/src/os
qmuntal dd38ade8d1 os: omit existence check for GetFinalPathNameByHandle
GetFinalPathNameByHandle exists since Windows Vista, which we no longer
support, so we don't need to prove that it exists before using it.

Updates #57003

Change-Id: Iff2bbe51d3baa3aabcaacf39ea3cbeda0088b9d7
Reviewed-on: https://go-review.googlesource.com/c/go/+/522195
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
2023-08-25 08:48:18 +00:00
..
exec os/exec: don't convert byte slice to string when using verb %s 2023-08-21 23:20:06 +00:00
signal os: use testenv.Command and os.Executable in tests 2023-08-23 19:03:28 +00:00
testdata
user os/user: skip tests that invoke Current if it returns an expected error 2023-04-21 15:59:43 +00:00
dir_darwin.go os: do not skip directory entries with zero inodes on wasip1 2023-07-06 23:23:41 +00:00
dir_plan9.go all: add String for fs.{FileInfo,DirEntry} implementations 2023-05-04 16:27:35 +00:00
dir_unix.go os: do not skip directory entries with zero inodes on wasip1 2023-07-06 23:23:41 +00:00
dir_windows.go os: avoid allocating a string for ReadDir skipped entries on Windows 2023-08-21 08:33:51 +00:00
dir.go
dirent_aix.go
dirent_dragonfly.go
dirent_freebsd.go
dirent_js.go
dirent_linux.go
dirent_netbsd.go
dirent_openbsd.go
dirent_solaris.go
dirent_wasip1.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
endian_big.go
endian_little.go
env_test.go os, syscall: update unreachable link about =C: envs 2023-07-04 15:31:54 +00:00
env_unix_test.go
env.go
error_errno.go
error_plan9.go
error_posix.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
error_test.go os: remove unnecessary return after t.Fatal 2023-05-19 00:41:52 +00:00
error_unix_test.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
error_windows_test.go
error.go all: remove duplicate word and fix comment 2023-07-13 13:31:04 +00:00
example_test.go os: remove executable bits from os.OpenFile example 2023-07-20 17:30:18 +00:00
exec_plan9.go
exec_posix.go internal/itoa, os: move os.uitox to itoa.Uitox 2023-08-11 02:53:50 +00:00
exec_unix_test.go os: use t.Fatalf instead of t.Errorf in TestErrProcessDone 2023-08-07 00:23:04 +00:00
exec_unix.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
exec_windows_test.go os: remove 5ms sleep on Windows in (*Process).Wait 2023-07-26 15:13:24 +00:00
exec_windows.go os: remove 5ms sleep on Windows in (*Process).Wait 2023-07-26 15:13:24 +00:00
exec.go os/exec: document a method to check if a process is alive 2023-06-17 19:02:45 +00:00
executable_darwin.go
executable_dragonfly.go
executable_freebsd.go
executable_path.go
executable_plan9.go
executable_procfs.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
executable_solaris.go
executable_sysctl.go
executable_test.go
executable_wasm.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
executable_windows.go
executable.go
export_linux_test.go
export_test.go
export_unix_test.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
export_windows_test.go os: support file systems without file IDs when reading directories on windows 2023-08-16 15:15:27 +00:00
fifo_test.go os: if descriptor is non-blocking, retain that in Fd method 2023-05-17 21:12:04 +00:00
file_mutex_plan9.go
file_open_unix.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
file_open_wasip1.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
file_plan9.go os: make Chtimes accept empty time values to skip file time modification 2023-05-11 18:19:17 +00:00
file_posix.go os, runtime: remove unused implementations of os.sigpipe 2023-05-12 21:33:26 +00:00
file_unix.go os: explicitly check for invalid FD in NewFile 2023-05-24 20:19:46 +00:00
file_wasip1.go net: implement wasip1 FileListener and FileConn 2023-05-25 00:12:41 +00:00
file_windows.go os: omit existence check for GetFinalPathNameByHandle 2023-08-25 08:48:18 +00:00
file.go os: ReadFile: don't check for re-allocation in the first iteration 2023-07-25 00:48:06 +00:00
getwd.go
os_test.go os: add tests for UserCacheDir and UserConfigDir 2023-08-21 17:46:57 +00:00
os_unix_test.go os: skip Chown tests for auxiliary groups that fail due to permission errors 2023-08-16 19:05:12 +00:00
os_windows_test.go os: support file systems without file IDs when reading directories on windows 2023-08-16 15:15:27 +00:00
path_plan9.go os: make MkdirAll support volume names 2023-08-09 15:15:57 +00:00
path_test.go
path_unix.go os: make MkdirAll support volume names 2023-08-09 15:15:57 +00:00
path_windows_test.go os: make MkdirAll support volume names 2023-08-09 15:15:57 +00:00
path_windows.go os: make MkdirAll support volume names 2023-08-09 15:15:57 +00:00
path.go os: make MkdirAll support volume names 2023-08-09 15:15:57 +00:00
pipe2_unix.go os: explicitly check for invalid FD in NewFile 2023-05-24 20:19:46 +00:00
pipe_test.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
pipe_unix.go os: explicitly check for invalid FD in NewFile 2023-05-24 20:19:46 +00:00
pipe_wasm.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
proc.go
rawconn_test.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
rawconn.go
read_test.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
readfrom_linux_test.go os: remove mixed dot- and non-dot- imports in tests 2023-03-29 16:21:13 +00:00
readfrom_linux.go
readfrom_stub.go
removeall_at.go os: explicitly check for invalid FD in NewFile 2023-05-24 20:19:46 +00:00
removeall_noat.go
removeall_test.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
stat_aix.go
stat_darwin.go
stat_dragonfly.go
stat_freebsd.go
stat_js.go
stat_linux.go
stat_netbsd.go
stat_openbsd.go
stat_plan9.go
stat_solaris.go
stat_test.go
stat_unix.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
stat_wasip1.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
stat_windows.go os: follow all name surrogate reparse points in Stat on Windows 2023-08-08 16:00:00 +00:00
stat.go os: follow all name surrogate reparse points in Stat on Windows 2023-08-08 16:00:00 +00:00
sticky_bsd.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
sticky_notbsd.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
sys_aix.go
sys_bsd.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
sys_js.go
sys_linux.go
sys_plan9.go
sys_solaris.go
sys_unix.go
sys_wasip1.go os: add wasip1 support 2023-04-07 23:34:21 +00:00
sys_windows.go
sys.go
tempfile_test.go
tempfile.go
timeout_test.go all: fix spelling errors 2023-06-14 00:03:57 +00:00
types_plan9.go
types_unix.go
types_windows.go os: support file systems without file IDs when reading directories on windows 2023-08-16 15:15:27 +00:00
types.go
wait6_dragonfly.go
wait6_freebsd64.go
wait6_freebsd_386.go
wait6_freebsd_arm.go
wait6_netbsd.go
wait_unimp.go os: adjust wait6/waitid comment for netbsd 2023-04-11 13:16:52 +00:00
wait_wait6.go
wait_waitid.go os: replace "used to used" with "used to use" in description text 2023-08-07 00:27:57 +00:00