Extract TreeSize to daemon build

TreeSize uses syscall.Stat_t which is not available on Windows.
It's called only on daemon path, therefore extracting it to daemon
with build tag 'daemon'

Signed-off-by: Ahmet Alp Balkan <ahmetb@microsoft.com>
Upstream-commit: b64c9b521ab4e4082ed874a23a493f4a266304d5
Component: engine
This commit is contained in:
Ahmet Alp Balkan
2014-11-14 18:20:53 -08:00
parent c976d3fdc2
commit 179af9eeb6
3 changed files with 41 additions and 31 deletions
@@ -1,3 +1,5 @@
// +build daemon
package graphdriver
import (