pub fn history(&self, path: &Path) -> Result<Vec<Version>> {
        let fnode_ref = self.resolve(path)?;
        let fnode = fnode_ref.read().unwrap();
        if fnode.is_dir() {
            return Err(Error::IsDir);
        }
        Ok(fnode.history())
    }
/// Get file version list of specified path
Get file version list of specified path
Get file version list of specified path
pub fn history(&self, path: &Path) -> Result<Vec<Version>> {
        let fnode_ref = self.resolve(path)?;
        let fnode = fnode_ref.read().unwrap();
        if fnode.is_dir() {
            return Err(Error::IsDir);
        }
        Ok(fnode.history())
    }
pub fn history ( & self , path : & Path ) -> Result < Vec < Version > > { let fnode_ref = self . resolve ( path ) ? ; let fnode = fnode_ref . read ( ) . unwrap ( ) ; if fnode . is_dir ( ) { return Err ( Error :: IsDir ) ; } Ok ( fnode . history ( ) ) }
Get file version list of specified path
Get file version list of specified path
&self
path
&Path
&self
path
&Path