pub fn read_tracking_tree(
repo: &Path,
remote: &str,
ref_name: &str,
) -> Result<Vec<TreeEntry>, SyncError>Expand description
Reads the tree of a lore ref’s remote-tracking ref.
Convenience wrapper that resolves the tracking ref for ref_name on remote
(see tracking_ref_name) and returns its tree entries, or an empty vector
when nothing has been fetched into that tracking ref yet. Call after
fetch to read remote state for merging.