MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / link_files

Method link_files

dstack-util/src/system_setup.rs:1508–1516  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1506 }
1507
1508 fn link_files(&self) -> Result<()> {
1509 let work_dir = &self.args.work_dir;
1510 cmd! {
1511 cd $work_dir;
1512 ln -sf ${HOST_SHARED_DIR_NAME}/${APP_COMPOSE};
1513 ln -sf ${HOST_SHARED_DIR_NAME}/${USER_CONFIG} user_config;
1514 }?;
1515 Ok(())
1516 }
1517
1518 /// Setup socket directory for dstack-guest-agent.
1519 fn setup_socket_dir(&self) -> Result<()> {

Callers 1

setupMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected