MCPcopy
hub / github.com/wal-g/wal-g / AddFile

Method AddFile

internal/bundle_files.go:12–12  ·  view source on GitHub ↗
(tarHeader *tar.Header, fileInfo os.FileInfo, isIncremented bool)

Source from the content-addressed store, hash-verified

10type BundleFiles interface {
11 AddSkippedFile(tarHeader *tar.Header, fileInfo os.FileInfo)
12 AddFile(tarHeader *tar.Header, fileInfo os.FileInfo, isIncremented bool)
13 AddFileDescription(name string, backupFileDescription BackupFileDescription)
14 AddFileWithCorruptBlocks(tarHeader *tar.Header, fileInfo os.FileInfo, isIncremented bool,
15 corruptedBlocks []uint32, storeAllBlocks bool)

Callers 15

AddToBundleMethod · 0.65
PackFileIntoTarMethod · 0.65
AddHeaderMethod · 0.65
addListToTarMethod · 0.65
AddFileMethod · 0.65
AddHeaderMethod · 0.65
addToBundleMethod · 0.65
PackFileIntoTarMethod · 0.65
AddHeaderMethod · 0.65
copyTarMethod · 0.65
FinishComposingMethod · 0.65
addFileToTarBallMethod · 0.65

Implementers 3

RegularBundleFilesinternal/bundle_files.go
NopBundleFilesinternal/bundle_files.go
StatBundleFilesinternal/databases/postgres/bundle_fil

Calls

no outgoing calls

Tested by 2

runSingleTestFunction · 0.52