MCPcopy
hub / github.com/lxc/incus / WriteFile

Method WriteFile

internal/instancewriter/instance_writer_interface.go:11–11  ·  view source on GitHub ↗
(name string, srcPath string, fi os.FileInfo, ignoreGrowth bool)

Source from the content-addressed store, hash-verified

9type InstanceWriter interface {
10 ResetHardLinkMap()
11 WriteFile(name string, srcPath string, fi os.FileInfo, ignoreGrowth bool) error
12 WriteFileFromReader(src io.Reader, fi os.FileInfo) error
13}

Callers 15

GetImageFileMethod · 0.65
CreateProfileFunction · 0.65
setupMethod · 0.65
BridgeVLANSetDefaultPVIDFunction · 0.65
archiveProfileLoadFunction · 0.65
rsyncProfileLoadFunction · 0.65
instanceProfileGenerateFunction · 0.65
qemuImgProfileLoadFunction · 0.65
ForkproxyLoadFunction · 0.65
NetworkLoadFunction · 0.65

Implementers 2

InstanceRawWriterinternal/instancewriter/instance_raw_w
InstanceTarWriterinternal/instancewriter/instance_tar_w

Calls

no outgoing calls

Tested by 3

TestMaybeUpdate_UpgradeFunction · 0.52