fn tree_content_digest_with_cached_outputs( root: &Path, excluded: Option<&str>, previous_outputs: &BTreeMap<PathBuf, Value>, ) -> Option<String>