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

Method toJSON

packages/effect/src/unstable/http/Multipart.ts:732–741  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

730 }
731
732 toJSON(): unknown {
733 return {
734 _id: "@effect/platform/Multipart/Part",
735 _tag: "PersistedFile",
736 key: this.key,
737 name: this.name,
738 contentType: this.contentType,
739 path: this.path
740 }
741 }
742}
743
744/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected