Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
66
impl disk_file::DiskFd for RawDisk {
67
fn fd(&self) -> BorrowedDiskFd<'_> {
68
BorrowedDiskFd::new(self.file.as_raw_fd())
69
}
70
}
71
72
impl disk_file::Geometry for RawDisk {
Callers
2
try_lock_image
Method · 0.45
unlock_image
Method · 0.45
Calls
2
new
Function · 0.85
as_raw_fd
Method · 0.45
Tested by
no test coverage detected