Skip to main content

same_entry

Function same_entry 

Source
pub fn same_entry(left: &Option<TreeEntry>, right: &Option<TreeEntry>) -> bool
Expand description

What: Whether two entries name the same mode and object, or are both absent. Why: An identical prepared and landed entry is subsumed without any text check.

In TS you’d write (pseudocode):

sameEntry({ left, right });