MCPcopy Create free account
hub / github.com/Effect-TS/effect / constructor

Method constructor

packages/platform/node/src/NodeMultipart.ts:106–114  ·  view source on GitHub ↗
(
    info: MultipartParser.PartInfo,
    value: Uint8Array
  )

Source from the content-addressed store, hash-verified

104 readonly value: string
105
106 constructor(
107 info: MultipartParser.PartInfo,
108 value: Uint8Array
109 ) {
110 super()
111 this.key = info.name
112 this.contentType = info.contentType
113 this.value = MultipartParser.decodeField(info, value)
114 }
115
116 toJSON(): unknown {
117 return {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected