pub fn path(&self) -> Option<Path> {
        unsafe {
            ::opt_bytes(self, raw::git_index_path(&*self.raw)).map(Path::new)
        }
    }
/// Get the full path to the index file on disk.
///
/// Returns `None` if this is an in-memory index.
Get the full path to the index file on disk.
Returns `None` if this is an in-memory index.
Get the full path to the index file on disk . Returns ` None ` if this is an in - memory index .
pub fn path(&self) -> Option<Path> {
        unsafe {
            ::opt_bytes(self, raw::git_index_path(&*self.raw)).map(Path::new)
        }
    }
pub fn path ( & self ) -> Option < Path > { unsafe { :: opt_bytes ( self , raw :: git_index_path ( & * self . raw ) ) . map ( Path :: new ) } }
Get the full path to the index file on disk.
Get the full path to the index file on disk .
&self
&self