Documentation ¶
Index ¶
- type Assembler
- type Model
- func (m *Model) Check(names ...string) (isDirty bool, dirty []string, err error)
- func (m *Model) Close()
- func (m *Model) FeedManifests(blobs, manifests, strict bool, names ...string) (res lists.BlobMap, err error)
- func (m *Model) GetManifest(name string, in io.Reader) (res *proto.Manifest, err error)
- func (m *Model) IsBlobs(names ...string) (res map[string]bool, err error)
- func (m *Model) ReadChunk(name string, chunk proto.Chunk, res []byte) (err error)
- func (m *Model) SquashBlobs(blobs lists.BlobMap) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assembler ¶
type Assembler struct { Where string // contains filtered or unexported fields }
func NewAssembler ¶
func (*Assembler) StoreChunk ¶
Store chunk in assemble
func (*Assembler) StoredChunks ¶
type Model ¶
type Model struct { WD string Git *git.Git FdLocks *concurrency.Locks *concurrency.BatchPool // contains filtered or unexported fields }
func (*Model) FeedManifests ¶
func (*Model) GetManifest ¶
Get manifest by filename or given reader
Click to show internal directories.
Click to hide internal directories.