Exemplo n.º 1
0
Arquivo: tree.go Projeto: e8vm/shanhu
func loadTree(s store.Store, hash string) (*Tree, error) {
	bs, err := s.Get(hash)
	if err != nil {
		return nil, err
	}
	return unmarshalTree(bs)
}