gitws.gitwsmanifestformat module
Our Own Manifest Format.
- class gitws.gitwsmanifestformat.GitWSManifestFormat[source]
Bases:
ManifestFormatOur Manifest Format.
- dump(spec: ManifestSpec, path: Optional[Path] = None) str[source]
Return
ManifestSpecAs String.- Parameters:
spec – Manifest Spec
- Keyword Arguments:
path – Path To Possibly Existing Document.
- load(path: Path) ManifestSpec[source]
Load Manifest From
path.- Raises:
ManifestNotFoundError – if file is not found
ManifestError – On Syntax Or Data Scheme Errors.
- prio: int = -1
Manifest Format Priority In Case Of Multiple Matching Formats.
- upgrade(path: Path)[source]
Upgrade
ManifestSpecatpathTo Latest Version Including Documentation.
- gitws.gitwsmanifestformat.dump(spec: ManifestSpec, path: Optional[Path] = None) str
Return
ManifestSpecAs String.- Parameters:
spec – Manifest Spec
- Keyword Arguments:
path – Path To Possibly Existing Document.
- gitws.gitwsmanifestformat.load(path: Path) ManifestSpec
Load Manifest From
path.- Raises:
ManifestNotFoundError – if file is not found
ManifestError – On Syntax Or Data Scheme Errors.
- gitws.gitwsmanifestformat.upgrade(path: Path)
Upgrade
ManifestSpecatpathTo Latest Version Including Documentation.