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

Method Size

internal/instancewriter/instance_file_info.go:23–25  ·  view source on GitHub ↗

Size of file.

()

Source from the content-addressed store, hash-verified

21
22// Size of file.
23func (f *FileInfo) Size() int64 {
24 return f.FileSize
25}
26
27// Mode of file.
28func (f *FileInfo) Mode() os.FileMode {

Callers 15

WriteFileFromReaderMethod · 0.80
WriteFileMethod · 0.80
addPrefixMethod · 0.80
setupMethod · 0.80
StateMethod · 0.80
ValidateMethod · 0.80
DHCPv6SubnetMethod · 0.80
SubnetContainsFunction · 0.80
ensureVolumeBlockFileFunction · 0.80
BlockDiskSizeBytesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected