public GitObjectId GetTreeEntry(GitObjectId treeId, ReadOnlySpan <byte> nodeName)
 {
     using (Stream treeStream = this.GetObjectBySha(treeId, "tree"))
     {
         return(GitTreeStreamingReader.FindNode(treeStream, nodeName));
     }
 }
 public string GetTreeEntry(string treeId, string nodeName)
 {
     using (Stream treeStream = this.GetObjectBySha(treeId, "tree"))
     {
         return(GitTreeStreamingReader.FindNode(treeStream, Encoding.GetBytes(nodeName)));
     }
 }