@staticmethod
    def gf(ctx, obj, path):
        try:
            return obj.parent[path]

        except KeyError:
            tree = obj.commit.tree
            try:
                return tree[path]

            except KeyError:
                # can't find file
                return None
Construct the trees with support
dataset/ETHPy150Open nakamuray/blikit/blikit/docutilsext.py/HTMLTranslator.gf--crossover with--dataset/ETHPy150Open biocore/scikit-bio/skbio/tree/_majority_rule.py/_build_trees