MCPcopy
hub / github.com/google/gvisor / fileDescription

Struct fileDescription

pkg/sentry/fsimpl/tmpfs/tmpfs.go:1041–1045  ·  view source on GitHub ↗

fileDescription is embedded by tmpfs implementations of vfs.FileDescriptionImpl. +stateify savable

Source from the content-addressed store, hash-verified

1039//
1040// +stateify savable
1041type fileDescription struct {
1042 vfsfd vfs.FileDescription
1043 vfs.FileDescriptionDefaultImpl
1044 vfs.LockFD
1045}
1046
1047func (fd *fileDescription) filesystem() *filesystem {
1048 return fd.vfsfd.Mount().Filesystem().Impl().(*filesystem)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected