src/server/pkg/hashtree/db.go
func (o *Ordered) MkdirAll(path string) {
	var paths []string
	for path != "" {
		paths = append(paths, path)
		path, _ = split(path)
	}
	for i := len(paths) - 1; i >= 0; i-- {
		o.PutDir(paths[i])
	}
}
func (o *Ordered) MkdirAll(path string) {
	var paths []string
	for path != "" {
		paths = append(paths, path)
		path, _ = split(path)
	}
	for i := len(paths) - 1; i >= 0; i-- {
		o.PutDir(paths[i])
	}
}
func ( o * Ordered ) MkdirAll ( path string ) { var paths [ ] string for path != " " { paths = append ( paths , path ) path , _ = split ( path ) } for i := len ( paths ) - 1 ; i >= 0 ; i -- { o . PutDir ( paths [ i ] ) } }
// MkdirAll puts all of the parent directories of a given
// path into the hashtree.
MkdirAll puts all of the parent directories of a given path into the hashtree .