From a8629ec5ddf0c24a93faa4b0a75a67c8a3ce4563 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 22 Aug 2012 04:32:58 +1000 Subject: [PATCH] schema: unexport NewBytes Change-Id: Ia6ec7c9aec33319bf277b93a189b4fa43d0540b9 --- pkg/schema/filewriter.go | 2 +- pkg/schema/schema.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/schema/filewriter.go b/pkg/schema/filewriter.go index e764c133e..1a56fd990 100644 --- a/pkg/schema/filewriter.go +++ b/pkg/schema/filewriter.go @@ -241,7 +241,7 @@ func WriteFileMapRolling(bs blobserver.StatReceiver, fileMap Map, r io.Reader) ( } m := fileMap if isFragment { - m = NewBytes() + m = newBytes() } err = PopulateParts(m, fileSize, parts) if err != nil { diff --git a/pkg/schema/schema.go b/pkg/schema/schema.go index c11691385..372a423ee 100644 --- a/pkg/schema/schema.go +++ b/pkg/schema/schema.go @@ -539,7 +539,7 @@ func PopulateSymlinkMap(m Map, fileName string) error { return nil } -func NewBytes() Map { +func newBytes() Map { return newMap(1, "bytes") }