Commit Graph

13 Commits

Author SHA1 Message Date
shirou 4c73494c78 Add WithContext functions. 2017-12-31 15:25:49 +09:00
WAKAYAMA Shirou 66b0ca3121 [disk] Add comment to disk.Usage(). 2017-07-14 15:33:53 +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
Cameron Sparr a213bf5e6d
run go fmt ./... 2017-02-01 23:05:29 +00:00
HeChuan c73b6685be fix: division by zero possible
some filesystem have zero Inode
2016-12-23 15:50:28 +08:00
Shirou WAKAYAMA 08a6ab66b0 disk: If could not get Inodes, return empty. 2016-08-27 14:02:51 +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 223c809234 disk[unix]: revert 61cb121. psutil uses Available as Free. 2015-12-01 23:29:15 +09:00
Shirou WAKAYAMA ad6c3f60a7 disk[freebsd,darwin,windows]: add fstype to DiskUsageStat. 2015-08-14 18:08:43 +09:00
Shirou WAKAYAMA 61cb121015 disk[unix]: fix free. 2015-07-23 11:39:50 +09:00
Pavel Trukhanov 4f6e4f73f3 disk_usage as in psutil 2015-04-08 13:58:18 +03:00
Shirou WAKAYAMA 13cd195a7e change package name. 2014-12-30 22:09:05 +09:00
Shirou WAKAYAMA a4671fcc2a move subdirectories. refer to issue #24 2014-11-27 10:18:15 +09:00