Skip to main content

update_trash_settings

Function update_trash_settings 

Source
pub async fn update_trash_settings(
    auto_purge_enabled: bool,
    retention_days: i32,
) -> Result<TrashSettings, ServerFnError>
Expand description

更新回收站配置。

retention_days 会被 clamp 到合法范围后写入。

§Handler information

  • Method: post
  • Path: <auto>