MCPcopy Create free account
hub / github.com/codnect/procyon / newCreationState

Function newCreationState

component/state.go:36–40  ·  view source on GitHub ↗

newCreationState creates and returns a new creationState instance.

()

Source from the content-addressed store, hash-verified

34
35// newCreationState creates and returns a new creationState instance.
36func newCreationState() *creationState {
37 return &creationState{
38 currentlyInCreation: make(map[string]struct{}),
39 }
40}
41
42// withCreationState adds a new creationState to the given context.
43// If the context already has one, it returns the same context.

Calls

no outgoing calls