PopulateDirectoryMap sets the type of *Builder to "directory" and sets the "entries" field to the provided staticSet blobref.
(staticSetRef blob.Ref)
| 584 | // PopulateDirectoryMap sets the type of *Builder to "directory" and sets |
| 585 | // the "entries" field to the provided staticSet blobref. |
| 586 | func (bb *Builder) PopulateDirectoryMap(staticSetRef blob.Ref) *Builder { |
| 587 | bb.m["camliType"] = string(TypeDirectory) |
| 588 | bb.m["entries"] = staticSetRef.String() |
| 589 | return bb |
| 590 | } |
| 591 | |
| 592 | // PartsSize returns the number of bytes represented by the "parts" field. |
| 593 | func (bb *Builder) PartsSize() int64 { |