MCPcopy
hub / github.com/mum4k/termdash / createFirst

Method createFirst

container/container.go:207–214  ·  view source on GitHub ↗

createFirst creates and returns the first sub container of this container.

(opts []Option)

Source from the content-addressed store, hash-verified

205
206// createFirst creates and returns the first sub container of this container.
207func (c *Container) createFirst(opts []Option) error {
208 first, err := newChild(c, opts)
209 if err != nil {
210 return err
211 }
212 c.first = first
213 return nil
214}
215
216// createSecond creates and returns the second sub container of this container.
217func (c *Container) createSecond(opts []Option) error {

Callers 2

SplitVerticalFunction · 0.80
SplitHorizontalFunction · 0.80

Calls 1

newChildFunction · 0.85

Tested by

no test coverage detected