mirror of https://github.com/perkeep/perkeep.git
schema: unexport NewBytes
Change-Id: Ia6ec7c9aec33319bf277b93a189b4fa43d0540b9
This commit is contained in:
parent
439db110ec
commit
a8629ec5dd
|
@ -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 {
|
||||
|
|
|
@ -539,7 +539,7 @@ func PopulateSymlinkMap(m Map, fileName string) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
func NewBytes() Map {
|
||||
func newBytes() Map {
|
||||
return newMap(1, "bytes")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue