1 2 3 4 5 6 7 8
package wasi:filesystem@0.2.0; interface preopens { use types.{descriptor}; /// Return the set of preopened directories, and their path. get-directories: func() -> list<tuple<descriptor, string>>; }