rust/hg-core/src/revlog/filelog.rs
changeset 47996 6f579618ea7b
parent 47991 001d747c2baf
child 47997 87e3f878e65f
equal deleted inserted replaced
47995:6c653d9d41b8 47996:6f579618ea7b
    28     /// changeset.
    28     /// changeset.
    29     pub fn get_node(
    29     pub fn get_node(
    30         &self,
    30         &self,
    31         file_node: impl Into<NodePrefix>,
    31         file_node: impl Into<NodePrefix>,
    32     ) -> Result<FilelogEntry, RevlogError> {
    32     ) -> Result<FilelogEntry, RevlogError> {
    33         let file_rev = self.revlog.get_node_rev(file_node.into())?;
    33         let file_rev = self.revlog.rev_from_node(file_node.into())?;
    34         self.get_rev(file_rev)
    34         self.get_rev(file_rev)
    35     }
    35     }
    36 
    36 
    37     /// The given revision is that of the file as found in a manifest, not of a
    37     /// The given revision is that of the file as found in a manifest, not of a
    38     /// changeset.
    38     /// changeset.