MCPcopy Create free account
hub / github.com/OpenPrinting/goipp / DeepCopy

Method DeepCopy

value.go:741–743  ·  view source on GitHub ↗

DeepCopy returns a deep copy of the Collection Value

()

Source from the content-addressed store, hash-verified

739
740// DeepCopy returns a deep copy of the Collection Value
741func (v Collection) DeepCopy() Value {
742 return Collection(Attributes(v).DeepCopy())
743}
744
745// Encode Collection Value into wire format
746func (Collection) encode() ([]byte, error) {

Callers

nothing calls this directly

Calls 3

CollectionTypeAlias · 0.85
AttributesTypeAlias · 0.85
DeepCopyMethod · 0.65

Tested by

no test coverage detected