salvus.project.version.salvus_project_version
Versioning and migration of SalvusProject’s file structure.
Classes
SalvusProjectVersion
SalvusProjectVersionclass SalvusProjectVersion(builtins.object):
def __init__(
self, project_path: pathlib.Path, apply_migrations: bool | None = None
): ...Versioning of the SalvusProject data structure.
Parameters
project_pathpathlib.Path — Path to the Salvus project.apply_migrationsbool | None — If True, automatically apply necessary migrations, if False, raise if migrations are needed. If None, ask the user with an interactive prompt.
Attributes
version_number str | None
version_number str | NoneGet the current version number of the project file structure.