wasm-nats-producer-client/gen/wasi/filesystem/preopens/preopens.wit.go
2024-12-14 02:15:08 +01:00

25 lines
744 B
Go

// Code generated by wit-bindgen-go. DO NOT EDIT.
// Package preopens represents the imported interface "wasi:filesystem/preopens@0.2.0".
package preopens
import (
"gitea.rebus.ninja/lore/wasm-nats-producer-client/gen/wasi/filesystem/types"
"github.com/bytecodealliance/wasm-tools-go/cm"
)
// Descriptor represents the imported type alias "wasi:filesystem/preopens@0.2.0#descriptor".
//
// See [types.Descriptor] for more information.
type Descriptor = types.Descriptor
// GetDirectories represents the imported function "get-directories".
//
// get-directories: func() -> list<tuple<descriptor, string>>
//
//go:nosplit
func GetDirectories() (result cm.List[cm.Tuple[Descriptor, string]]) {
wasmimport_GetDirectories(&result)
return
}