Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
102
func
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
TestGetUsernsForNamespace
Function · 0.85
Calls
2
Stat
Method · 0.65
Sys
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…