MCPcopy
hub / github.com/kovidgoyal/kitty / Compressor

Interface Compressor

kittens/transfer/send.go:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45type FileHash struct{ dev, inode uint64 }
46
47type Compressor interface {
48 Compress(data []byte) []byte
49 Flush() []byte
50}
51
52type IdentityCompressor struct{}
53

Callers 6

next_chunkMethod · 0.65
WriteMethod · 0.65
CloseMethod · 0.65
RunSSHAskpassFunction · 0.65
bootstrap_scriptFunction · 0.65
next_chunkMethod · 0.65

Implementers 2

IdentityCompressorkittens/transfer/utils.py
ZlibCompressorkittens/transfer/utils.py

Calls

no outgoing calls

Tested by

no test coverage detected