cberner / fuser

Filesystem in Userspace (FUSE) for Rust
MIT License
835 stars 114 forks source link

examples/hello.rs getattr method doesn't match trait #309

Closed nrath-js closed 2 weeks ago

nrath-js commented 2 weeks ago

The getattr method in examples/hello.rs defines:

fn getattr(&mut self, _req: &Request, ino: u64, _fh: Option<u64>, reply: ReplyAttr) {

However, the Filesystem trait defines it as:

fn getattr(&mut self, _req: &Request<'_>, _ino: u64, reply: ReplyAttr)

i.e., no _fh parameter.

nrath-js commented 2 weeks ago

Duplicate of #299