pub fn listxattr(&mut self, ino: u64) -> Result<Vec<u8>, Error> {
        let ino_signed = ino as i64;
        debug!("listxattr(ino={})", ino);

        let result: Vec<String> = self
            .conn
            .query(
                "SELECT DISTINCT type FROM dependencies \
            WHERE inode = $1",
                &[&ino_signed],
            )
            .unwrap()
            .iter()
            .map(|row| row.get::<_, String>(0))
            .collect();
        Ok(result.join(",").into_bytes())
    }
/// Lists all extended attributes of a file.
Lists all extended attributes of a file.
Lists all extended attributes of a file .
pub fn listxattr(&mut self, ino: u64) -> Result<Vec<u8>, Error> {
        let ino_signed = ino as i64;
        debug!("listxattr(ino={})", ino);
        let result: Vec<String> = self
            .conn
            .query(
                "SELECT DISTINCT type FROM dependencies \
            WHERE inode = $1",
                &[&ino_signed],
            )
            .unwrap()
            .iter()
            .map(|row| row.get::<_, String>(0))
            .collect();
        Ok(result.join(",").into_bytes())
    }
pub fn listxattr ( & mut self , ino : u64 ) -> Result < Vec < u8 > , Error > { let ino_signed = ino as i64 ; debug ! ( " " ino ) ; let result : Vec < String > = self . conn . query ( " \
 " , & [ & ino_signed ] , ) . unwrap ( ) . iter ( ) . map ( | row | row . get :: < _ , String > ( 0 ) ) . collect ( ) ; Ok ( result . join ( " " ) . into_bytes ( ) ) }
Lists all extended attributes of a file.
Lists all extended attributes of a file .
&mut self
ino
u64
&mut self
ino
u64