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

Struct FileDescriptionDefaultImpl

pkg/sentry/vfs/file_description_impl_util.go:50–50  ·  view source on GitHub ↗

The following design pattern is strongly recommended for filesystem implementations to adapt: - Have a local fileDescription struct (containing FileDescription) which embeds FileDescriptionDefaultImpl and overrides the default methods which are common to all fd implementations for that filesystem li

Source from the content-addressed store, hash-verified

48//
49// +stateify savable
50type FileDescriptionDefaultImpl struct{}
51
52// OnClose implements FileDescriptionImpl.OnClose analogously to
53// file_operations::flush == NULL in Linux.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected