preopens

package
v0.36.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package preopens represents the imported interface "wasi:filesystem/[email protected]".

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDirectories

func GetDirectories() (result cm.List[cm.Tuple[Descriptor, string]])

GetDirectories represents the imported function "get-directories".

Return the set of preopened directories, and their path.

get-directories: func() -> list<tuple<descriptor, string>>

Types

type Descriptor added in v0.34.0

type Descriptor = types.Descriptor

Descriptor represents the imported type alias "wasi:filesystem/[email protected]#descriptor".

See types.Descriptor for more information.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳