func (h *dbHashTree) List(path string, f func(*NodeProto) error) error {
	path = clean(path)
	return h.View(func(tx *bolt.Tx) error {
		return list(tx, path, f)
	})
}
func (h *dbHashTree) List(path string, f func(*NodeProto) error) error {
	path = clean(path)
	return h.View(func(tx *bolt.Tx) error {
		return list(tx, path, f)
	})
}
func ( h * dbHashTree ) List ( path string , f func ( * NodeProto ) error ) error { path = clean ( path ) return h . View ( func ( tx * bolt . Tx ) error { return list ( tx , path , f ) } ) }
// List executes a callback for each file under a directory (or a file if the path is a file).
List executes a callback for each file under a directory ( or a file if the path is a file ) .