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

Method toJSON

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

Source from the content-addressed store, hash-verified

608 }
609
610 toJSON(): unknown {
611 return {
612 _id: "@effect/platform/Multipart/Part",
613 _tag: "File",
614 key: this.key,
615 name: this.name,
616 contentType: this.contentType
617 }
618 }
619}
620
621const defaultWriteFile = (path: string, file: File) =>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected