Commit Graph

14 Commits

Author SHA1 Message Date
Michal Rostecki ff2e736f72 disk: Check for error objects returned by Getfsstat 2018-06-21 16:48:16 +02:00
shirou 837fc76f68 [disk] darwin i386: add definition for darwin/386
and change to use Statfs. it is same as freebsd/openbsd.
2018-03-31 17:02:38 +09:00
shirou 4c73494c78 Add WithContext functions. 2017-12-31 15:25:49 +09:00
Sean Chittenden 635b971c0e
Move from the `syscall` package to the `golang.org/x/sys/{unix,windows}` 2017-06-02 13:51:00 -07:00
Robin Burchell b327360349 disk_darwin: Add support for IOCounters using IOKit 2017-03-30 18:58:03 +02:00
Shirou WAKAYAMA f2ebb91cf0 [disk]darwin,freebsd: implements 'all' argument. 2016-04-16 22:43:55 +09:00
Shirou WAKAYAMA 613a8a90e1 fixed by golint. 2016-04-01 21:34:39 +09:00
Shirou WAKAYAMA ea152ea901 [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters 2016-03-22 23:09:12 +09:00
Shirou WAKAYAMA 7288e9a5af common[all]: add internal 2015-10-20 00:04:57 +09:00
Shirou WAKAYAMA ad6c3f60a7 disk[freebsd,darwin,windows]: add fstype to DiskUsageStat. 2015-08-14 18:08:43 +09:00
Shirou WAKAYAMA 13cd195a7e change package name. 2014-12-30 22:09:05 +09:00
Shirou WAKAYAMA e9d79d2fc4 disk_darwin is backported with 1.3 frozen syscall. 2014-12-29 00:10:28 +09:00
Shirou WAKAYAMA 3f7769ccfa implement disk_partition of Darwin using golang.org/x/sys/unix. 2014-12-28 22:30:07 +09:00
Shirou WAKAYAMA a4671fcc2a move subdirectories. refer to issue #24 2014-11-27 10:18:15 +09:00