]> Cypherpunks repositories - gostls13.git/commit
os: merge common Unix/Windows methods
authorIan Lance Taylor <iant@golang.org>
Thu, 19 Mar 2020 20:58:48 +0000 (13:58 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 20 Mar 2020 00:26:13 +0000 (00:26 +0000)
commit7f3ca5dfebbf292580d292461815ee184fb32385
tree8d4bd48962f69412b338a41b47a09720afa019d3
parent965f4566e94c5b785ac5e55d295ba93f41b42434
os: merge common Unix/Windows methods

Several method implementations were identical in file_unix.go and
file_windows.go. Merge them into file_posix.go.

Change-Id: I8bcfad468829530f81f52fe426b3a8c042e7bbd6
Reviewed-on: https://go-review.googlesource.com/c/go/+/224138
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
src/os/file_posix.go
src/os/file_unix.go
src/os/file_windows.go