EOT;
const PROJECT_SUFFIX = <<
EOT;
function sync(ConfigFile $config, string $branch, bool $inplace=false): bool {
if ($inplace) return false;
[$deps, $isUrls, $notFoundUrls,
] = $config->getDeps($branch);
if ($deps !== null) {
msg::info("A reporter dans .idea/workspace.xml");
echo self::PROJECT_PREFIX."\n";
foreach ($deps as $dep) {
echo <<
EOT;
echo "\n";
}
echo self::PROJECT_SUFFIX."\n";
}
return false;
}
}