FANNG1 commented on code in PR #5878: URL: https://github.com/apache/gravitino/pull/5878#discussion_r1893364137
########## clients/filesystem-fuse/src/filesystem.rs: ########## @@ -201,6 +246,74 @@ pub(crate) struct OpenedFile { pub writer: Option<Box<dyn FileWriter>>, } +impl OpenedFile { + pub fn new(file_stat: FileStat) -> Self { Review Comment: why get a open file should get file stat first? could you provide the example how you use it? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@gravitino.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org