MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / remove

Function remove

src/mz/src/command/config.rs:80–82  ·  view source on GitHub ↗

Removes the value from a *global* configuration field.

(cx: &Context, RemoveArgs { name }: RemoveArgs<'_>)

Source from the content-addressed store, hash-verified

78
79/// Removes the value from a *global* configuration field.
80pub async fn remove(cx: &Context, RemoveArgs { name }: RemoveArgs<'_>) -> Result<(), Error> {
81 cx.config_file().set_param(name, None).await
82}

Callers

nothing calls this directly

Calls 2

set_paramMethod · 0.80
config_fileMethod · 0.80

Tested by

no test coverage detected