|
| enum | Version { Invalid
, Older
, Current
, Newer
} |
|
|
static bool | hasValidProject (const QString &projectRoot) |
|
static Version | projectVersion (const Properties &rootProps) |
|
static Properties | updateToLatestVersion (const QString &projectRoot, const Properties &rootProps, Progress *progress) |
|
static std::vector< std::pair< QString, QString > > | recentProjects () |
|
static void | pushToRecentFront (const QString &name, const QString &dir) |
|
static void | projectRenamed (const QString &dir, const QString &newName) |
|
static void | projectMoved (const QString &dir, const QString &newDir) |
|
static void | removeFromRecent (const QString &dir) |
|
static void | clearRecent () |
|
static Properties | readRootProperties (const QString &projectDir) |
|
static ProjectDB | readProjectDB (const Properties &globalProps) |
|
static bool | writeProjectDB (const QString &projectDir, ProjectDB db) |
|
static std::unique_ptr< Project > | copyProject (const QString &from, const QString &to, const std::optional< std::set< QString > > &identifiersToPreserve) |
|
static void | makeDataOwned (Project &project, Progress *prog=nullptr) |
|
static void | makeDataLinks (Project &project) |
| static std::pair< std::string, int > | splitProjectPathIntoServerAndId (const std::string &path) |
| | Splits the projectPath of a remote Project into its server url and the ID of the project.
|
◆ splitProjectPathIntoServerAndId()
Splits the projectPath of a remote Project into its server url and the ID of the project.
Must only be used with projectPath in the form of: http(s)://<hostname-and-port>/api/v1/projects/<project_id> It returns the server url (without the /api... path) and the project id.
The documentation for this class was generated from the following file:
- ImFusionLabels/lib/include/ImFusion/Labels/Core/ProjectHelpers.h