MCPcopy
hub / github.com/opencontainers/runc / srcName

Method srcName

libcontainer/rootfs_linux.go:53–58  ·  view source on GitHub ↗

srcName is only meant for error messages, it returns a "friendly" name.

()

Source from the content-addressed store, hash-verified

51
52// srcName is only meant for error messages, it returns a "friendly" name.
53func (m mountEntry) srcName() string {
54 if m.srcFile != nil {
55 return m.srcFile.file.Name()
56 }
57 return m.Source
58}
59
60func (m mountEntry) srcStat() (os.FileInfo, *syscall.Stat_t, error) {
61 var (

Callers 1

checkProcMountFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected