From f089dbf5d0f981b57a8a681d5ad9d510ae313fc5 Mon Sep 17 00:00:00 2001 From: pjht Date: Sun, 9 Jun 2024 18:32:13 -0500 Subject: [PATCH] Add size fonction to file RPC server --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.rs b/src/main.rs index 2e18b73..f4c34bc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,6 +20,10 @@ impl file_rpc::Server for Serv { fn close(&self, _fd: u64) { } + + fn size(&self, _fd: u64) -> Option { + None + } } fn main() {