Commit Graph

5 Commits

Author SHA1 Message Date
a7f340216d Reformat code according to 'gotip' rules.
In practices adds annotations in the new syntax:
```
+//go:build !linux
 // +build !linux
```

Fixes failing gotip PASSES='fmt' check:
https://travis-ci.com/github/etcd-io/etcd/jobs/486453806
2021-02-26 10:14:46 +01:00
6480066054 *: misc typos and go vet fixes 2016-06-22 10:32:13 -07:00
54aac4ab7e pkg/fileutil: fall back to truncate() if fallocate is interrupted
Fixes #5558
2016-06-06 09:52:34 -07:00
8b77de4e99 pkg: update LICENSE header 2016-05-12 20:48:53 -07:00
aafe717f2f fileutil: support file extending preallocate 2016-03-21 09:42:30 -07:00