Repository navigation
v0.1.3
XactFlow 0.1.3
New
Library.add(document, path=None, *, replace=False)adds a document that only exists in memory, such as an importer's result, without writing it to XML first. It gets the same checks as a scanned file.replace=Trueoverwrites an entry with the same VLNV instead of reporting a duplicate.Library.add_file(path)adds a single IP-XACT file, with the same filtering and checks asscan.
Changed
Library.scannow raisesFileNotFoundErrororNotADirectoryErrorwhen a scan root does not exist or is not a directory. Before, a wrong path silently gave an empty library.- New warnings in
library.diagnostics:- a scan root from which no IEEE 1685-2022 document was indexed;
- a file from another IP-XACT version (e.g. 1685-2014), which is skipped.
LibraryEntry.pathis nowNonefor documents added without a path.
Breaking
- Code that passed a scan root that doesn't exist and expected an empty library now gets an exception.
Fixes #3
Full Changelog: v0.1.2...v0.1.3