Skip to main content

Module workspace_import

Module workspace_import 

Source
Expand description

workspace.importuserworkspace: open a saved workspace file as a new workspace. Whether the file’s terminal commands run and its agents start is the person’s answer in the import preview, so only the person’s own window may call it (an agent’s connection, and any connection that is not the window, is refused). The HTTP service route no longer imports (service::user_workspace_files::handle_import): it cannot tell the window from any other caller. The tests are beside the import’s own, in service/user_workspace_files_tests.rs.

Functions§

register