pub(crate) fn files_to_write(
sent: Vec<AgentConfigFile>,
mstore: &Arc<Store>,
id_store: &Arc<Store>,
identity_store: &Arc<Store>,
cmd: &CommandWriteAgentConfigData,
agent_mode: &str,
hands_out_keys: bool,
work_dir: &str,
) -> Result<Vec<AgentConfigFile>, String>Expand description
The files writeagentconfig writes into work_dir: rendered from the agent’s definition when the window asks
(render_from_agent; after the folder is allocated, so the files name the folder they are in), otherwise the
ones the caller sent with what srv adds to them (picker_files).