Ejemplo n.º 1
0
Archivo: tree.go Proyecto: 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)
}