etcd/pkg/fileutil
Tobias Klauser add86bbd1a
pkg/fileutil: use fcntl syscall wrappers from golang.org/x/sys/unix (#12316)
Direct syscalls using syscall.Syscall(SYS_*, ...) should no longer be
used on darwin, see [1]. Instead, use the fcntl libSystem wrappers
provided by the golang.org/x/sys/unix package which implement the same
functionality.

[1] https://golang.org/doc/go1.12#darwin
2020-09-24 23:02:32 -07:00
..
dir_unix.go pkg: Fix dir permission check on Windows 2020-05-26 11:15:25 +08:00
dir_windows.go pkg: Fix dir permission check on Windows 2020-05-26 11:15:25 +08:00
doc.go pkg/fileutil: test "Exist" on directory 2018-04-08 14:26:30 -07:00
fileutil.go pkg: file stat warning (#12242) 2020-08-23 17:20:16 -07:00
fileutil_test.go pkg: check file stats (#11798) 2020-04-21 19:58:48 -07:00
lock.go pkg: update LICENSE header 2016-05-12 20:48:53 -07:00
lock_flock.go pkg: update LICENSE header 2016-05-12 20:48:53 -07:00
lock_linux.go pkg/fileutil: clarify flock errors 2018-05-03 14:00:42 -07:00
lock_linux_test.go fileutil: test some fallback functionality 2017-06-07 11:22:40 -07:00
lock_plan9.go pkg/fileutil: expose PrivateFileMode/DirMode 2016-06-10 15:22:14 -07:00
lock_solaris.go pkg: update LICENSE header 2016-05-12 20:48:53 -07:00
lock_test.go test: test update for Go 1.12.5 and related changes 2019-06-05 17:02:05 -04:00
lock_unix.go pkg: update LICENSE header 2016-05-12 20:48:53 -07:00
lock_windows.go fileutil, src: format errors 2019-10-25 22:31:49 +08:00
preallocate.go fileutil: return immediately if preallocating 0 bytes 2017-06-07 09:57:14 -07:00
preallocate_darwin.go pkg/fileutil: use fcntl syscall wrappers from golang.org/x/sys/unix (#12316) 2020-09-24 23:02:32 -07:00
preallocate_test.go fileutil: test some fallback functionality 2017-06-07 11:22:40 -07:00
preallocate_unix.go *: misc typos and go vet fixes 2016-06-22 10:32:13 -07:00
preallocate_unsupported.go pkg: update LICENSE header 2016-05-12 20:48:53 -07:00
purge.go pkg: remove capnslog (#11616) 2020-02-12 11:15:41 -08:00
purge_test.go etcdserver: wait purge file loop during shutdown 2019-10-30 14:21:08 -07:00
read_dir.go pkg/fileutil: add "ReadDirOption" 2018-05-18 10:28:27 -07:00
read_dir_test.go pkg/fileutil: add "ReadDirOption" 2018-05-18 10:28:27 -07:00
sync.go pkg: update LICENSE header 2016-05-12 20:48:53 -07:00
sync_darwin.go pkg/fileutil: use fcntl syscall wrappers from golang.org/x/sys/unix (#12316) 2020-09-24 23:02:32 -07:00
sync_linux.go pkg: update LICENSE header 2016-05-12 20:48:53 -07:00