mirror of
https://github.com/extism/extism.git
synced 2026-01-10 06:18:00 -05:00
chore: fix docstring for Manifest/allowed_paths (#531)
This commit is contained in:
@@ -213,7 +213,7 @@ pub struct Manifest {
|
||||
pub allowed_hosts: Option<Vec<String>>,
|
||||
|
||||
/// Specifies which paths should be made available on disk when using WASI. This is a mapping from
|
||||
/// this is a mapping from the path on disk to the path it should be available inside the plugin.
|
||||
/// the path on disk to the path it should be available inside the plugin.
|
||||
/// For example, `".": "/tmp"` would mount the current directory as `/tmp` inside the module
|
||||
#[serde(default)]
|
||||
pub allowed_paths: Option<BTreeMap<PathBuf, PathBuf>>,
|
||||
|
||||
Reference in New Issue
Block a user