~/bend-docscommunity

src/zip.bend relies on unsafe/foreign

raw source on the hub · import bend-kube-runtime@0.12.0.0/src/zip.bend as Zip

1 import
import Base

Definitions

def Zip.lz4 source · line 43 · raw

U32

The compressor's name, as squashfs's super block names it (LZ4_COMPRESSION).

def Zip.raw source · line 47 · raw

U32

A word's bit for "stored as it is" (1 << 24).

Effects (foreign code)

effect Zip.blocks source · line 50 · raw

@kind:U32 -> @src:File -> @off_hi:U32 -> @off_lo:U32 -> @len_hi:U32 -> @len_lo:U32 -> @block:U32 -> @dst:File -> @at_hi:U32 -> @at_lo:U32 -> IO(Pair(File, Pair(File, Result<&1, &1, Pair(U32, String), List<&2, U32>>)))

foreign: src/effs/zip.c, src/effs/zip.js

effect Zip.pack source · line 55 · raw

@kind:U32 -> @bytes:List<&2, U32> -> IO(Result<&1, &1, Pair(U32, String), Pair(U32, List<&2, U32>)>)

foreign: src/effs/zip.c, src/effs/zip.js