MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / save_global_settings

Function save_global_settings

crates/openshell-server/src/grpc/policy.rs:3720–3731  ·  view source on GitHub ↗
(
    store: &Store,
    settings: &StoredSettings,
)

Source from the content-addressed store, hash-verified

3718}
3719
3720pub(super) async fn save_global_settings(
3721 store: &Store,
3722 settings: &StoredSettings,
3723) -> Result<(), Status> {
3724 save_settings_record(
3725 store,
3726 GLOBAL_SETTINGS_OBJECT_TYPE,
3727 GLOBAL_SETTINGS_NAME,
3728 settings,
3729 )
3730 .await
3731}
3732
3733pub(super) async fn load_sandbox_settings(
3734 store: &Store,

Calls 1

save_settings_recordFunction · 0.85

Tested by

no test coverage detected