pub fn directory(&self) -> Cow<str> {
        unsafe {
            String::from_utf8_lossy(CStr::from_ptr(self.inner.folder.as_ptr()).to_bytes())
        }
    }
/// Returns the directory that the file is stored in.
Returns the directory that the file is stored in.
Returns the directory that the file is stored in .
pub fn directory(&self) -> Cow<str> {
        unsafe {
            String::from_utf8_lossy(CStr::from_ptr(self.inner.folder.as_ptr()).to_bytes())
        }
    }
pub fn directory ( & self ) -> Cow < str > { unsafe { String :: from_utf8_lossy ( CStr :: from_ptr ( self . inner . folder . as_ptr ( ) ) . to_bytes ( ) ) } }
Returns the directory that the file is stored in.
Returns the directory that the file is stored in .
&self
&self