Something went wrong. Try again.
The agentic engineering control plane for the posthuman future
Something went wrong. Try again.
492 B · 17 lines
C++
at main
123456789101112131415161718#include "ConfigPaths.h"
#include <QDir>
#include "XenoPaths.h"
ConfigPaths::ConfigPaths(QObject* parent) : QObject(parent) {}
QString ConfigPaths::workspacesDir() { // The XDG config directory is computed in exactly one place, shared with // the daemon's discovery file and XenoSettings, so the three cannot drift. return QDir(xeno::paths::configDir()).filePath(QStringLiteral("workspaces"));}
bool ConfigPaths::ensureWorkspacesDir() { return QDir().mkpath(workspacesDir());}