def blob(tree, pathname):
    for mode, type, sha, pathname2 in ls_tree(tree):
        if pathname == pathname2:
            return sha
    return None
Return the SHA of the blob by the given name in the given tree.
dataset/ETHPy150Open devstructure/blueprint/blueprint/git.py/blob