diff options
Diffstat (limited to 'c/wasi-http/wit/wasi-http/0.2.0/deps/filesystem/preopens.wit')
| -rw-r--r-- | c/wasi-http/wit/wasi-http/0.2.0/deps/filesystem/preopens.wit | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/c/wasi-http/wit/wasi-http/0.2.0/deps/filesystem/preopens.wit b/c/wasi-http/wit/wasi-http/0.2.0/deps/filesystem/preopens.wit new file mode 100644 index 0000000..da801f6 --- /dev/null +++ b/c/wasi-http/wit/wasi-http/0.2.0/deps/filesystem/preopens.wit @@ -0,0 +1,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>>; +} |
