MCPcopy
hub / github.com/u-root/u-root / RecordWriter

Interface RecordWriter

pkg/cpio/cpio.go:32–34  ·  view source on GitHub ↗

A RecordWriter writes one record to an archive.

Source from the content-addressed store, hash-verified

30
31// A RecordWriter writes one record to an archive.
32type RecordWriter interface {
33 WriteRecord(Record) error
34}
35
36// A RecordFormat gives readers and writers for dealing with archives from io
37// objects.

Callers 8

poxFunction · 0.65
mainFunction · 0.65
WriteRecordMethod · 0.65
WriteSignatureMethod · 0.65
PackMethod · 0.65
WriteToMethod · 0.65
writeFileFunction · 0.65
WriteRecordMethod · 0.65

Implementers 6

SigningWriterpkg/boot/measurement.go
dirWriterpkg/uroot/initramfs/dir.go
MockArchiverpkg/uroot/initramfs/files_test.go
DedupWriterpkg/cpio/cpio.go
Archivepkg/cpio/cpio.go
writerpkg/cpio/newc.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…