Add file RPC dup call

This commit is contained in:
pjht 2024-09-17 11:43:45 -05:00
parent f7b105e11f
commit 2ad62a5ea6
Signed by: pjht
GPG Key ID: CA239FC6934E6F3A

View File

@ -31,6 +31,10 @@ impl file_rpc::Server for Serv {
fn size(&self, _fd: u64) -> Option<u64> {
Some(self.initrd.len() as u64)
}
fn dup(&self, fd: u64) -> Option<u64> {
Some(fd)
}
}
fn main() {