From f8bcddd584bec59fd652f7a9e3790efaa54f60cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Mon, 4 Jun 2018 15:14:03 +0200 Subject: [PATCH] Fix build on macOS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without this build fails on macOS with > ./store.go:1561:12: undefined: directory.Size > ./store.go:1566:11: undefined: directory.Size because directory.Size has no implementation. Signed-off-by: Miloslav Trmač --- pkg/directory/directory_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/directory/directory_unix.go b/pkg/directory/directory_unix.go index 397251bdb8..05522d68bb 100644 --- a/pkg/directory/directory_unix.go +++ b/pkg/directory/directory_unix.go @@ -1,4 +1,4 @@ -// +build linux freebsd solaris +// +build linux darwin freebsd solaris package directory