|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
sonde migrate: moving a project's files from the names before 0.5 (design 0028). More...
#include "migrate.h"#include "common.h"#include "instance_p.h"#include "project.h"#include "trust_p.h"#include <QtCore/QDir>#include <QtCore/QDirIterator>#include <QtCore/QFile>#include <QtCore/QFileInfo>#include <QtCore/QHash>#include <QtCore/QProcess>#include <QtCore/QStandardPaths>#include <array>#include <utility>Namespaces | |
| namespace | Sonde |
| Embeddable Model Context Protocol server for Qt applications. | |
Functions | |
| QString | Sonde::Cli::anonymous_namespace{migrate.cpp}::findRoot (const QString &explicitConfig) |
The project's root: the directory of explicitConfig, or else the first one here or above with a file from before 0.5 or a .sonde. | |
| bool | Sonde::Cli::anonymous_namespace{migrate.cpp}::tracked (const QString &root, const QString &path) |
Whether git tracks path in the repository at root. | |
| void | Sonde::Cli::anonymous_namespace{migrate.cpp}::move (const QString &root, const QString &from, const QString &to) |
Moves from to to under root, with git mv if git tracks it, and says how. | |
| QHash< QString, QString > | Sonde::Cli::anonymous_namespace{migrate.cpp}::filesOf (const QString &library) |
Every file in library, by its canonical path, with its path relative to it. | |
| void | Sonde::Cli::anonymous_namespace{migrate.cpp}::moveGrants (const QHash< QString, QString > &before, const QString &library) |
Points the trust grants of the files of the old library, before, at the files in library, which they moved to (design 0023). | |
| void | Sonde::Cli::migrate (const QString &explicitConfig) |
sonde migrate: moves the files of the project of explicitConfig (--config), or else the first one here or above, to .sonde/. | |
sonde migrate: moving a project's files from the names before 0.5 (design 0028).