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

Function MiB

packages/effect/src/FileSystem.ts:510–510  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

508 * @since 4.0.0
509 */
510export const MiB = (n: number): Size => Size(n * 1024 * 1024)
511
512/**
513 * Creates a `Size` representing gibibytes (1024³ bytes).

Callers

nothing calls this directly

Calls 1

SizeFunction · 0.85

Tested by

no test coverage detected