MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / fd

Method fd

block/src/raw_disk.rs:67–69  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

65
66impl disk_file::DiskFd for RawDisk {
67 fn fd(&self) -> BorrowedDiskFd<'_> {
68 BorrowedDiskFd::new(self.file.as_raw_fd())
69 }
70}
71
72impl disk_file::Geometry for RawDisk {

Callers 2

try_lock_imageMethod · 0.45
unlock_imageMethod · 0.45

Calls 2

newFunction · 0.85
as_raw_fdMethod · 0.45

Tested by

no test coverage detected