commit | 2334cc1a136f0a5b4384f1a27e3634457be08553 | [log] [tgz] |
---|---|---|
author | Stan Hu <stanhu@gmail.com> | Sun Sep 13 11:36:12 2020 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Wed Sep 16 03:07:50 2020 +0000 |
tree | 73552d5775d51a6ed644ab72094da19bea97c60a | |
parent | 288bc346aa3906399979ee2fc63bacf4c43e04c9 [diff] |
unix: add Darwin support for clonefile syscalls This commit adds support for three Darwin-specific calls that accelerate the copying of files: * clonefile() * clonefileat() * fclonefileat() Fixes golang/go#41366 Change-Id: I7e6c525fc23d8474ea85feff24314d3d672d87ed Reviewed-on: https://go-review.googlesource.com/c/sys/+/254757 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Tobias Klauser <tobias.klauser@gmail.com>
This repository holds supplemental Go packages for low-level interactions with the operating system.
The easiest way to install is to run go get -u golang.org/x/sys
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sys
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.