IsWorkSpaceTrusted

Function IsWorkSpaceTrusted 

Source
pub fn IsWorkSpaceTrusted() -> ActionEffect<Arc<dyn WorkSpaceProvider>, CommonError, bool>
Expand description

Creates an effect that, when executed, will check if the current workspace is considered trusted by the user.

WorkSpace Trust is a security feature that restricts certain operations (like automatic task execution) in untrusted folders.

It uses the WorkSpaceProvider capability from the environment.

ยงReturns

An ActionEffect that resolves with a bool indicating the trust state.