MCPcopy
hub / github.com/containerd/containerd / getInode

Function getInode

pkg/sys/namespace_linux_test.go:102–106  ·  view source on GitHub ↗
(t *testing.T, f *os.File)

Source from the content-addressed store, hash-verified

100}
101
102func getInode(t *testing.T, f *os.File) uint64 {
103 info, err := f.Stat()
104 require.NoError(t, err)
105 return info.Sys().(*syscall.Stat_t).Ino
106}

Callers 1

Calls 2

StatMethod · 0.65
SysMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…