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

Function NewArgsPropertySource

runtime/argument.go:105–113  ·  view source on GitHub ↗

NewArgsPropertySource function creates a new ArgsPropertySource with the given arguments.

(args *Args)

Source from the content-addressed store, hash-verified

103
104// NewArgsPropertySource function creates a new ArgsPropertySource with the given arguments.
105func NewArgsPropertySource(args *Args) *ArgsPropertySource {
106 if args == nil {
107 panic("nil args")
108 }
109
110 return &ArgsPropertySource{
111 args: args,
112 }
113}
114
115// Name method returns the name of the source.
116func (s *ArgsPropertySource) Name() string {

Calls

no outgoing calls