func loadTree(s store.Store, hash string) (*Tree, error) { bs, err := s.Get(hash) if err != nil { return nil, err } return unmarshalTree(bs) }