flpq_data.tools.validate_archive#

validate_archive(path: str | Path, *, partial: bool = False) → list[str][source]#

Validate one graph archive (a .tar.gz or an unpacked directory).

Parameters:
pathUnion[str, Path]

The archive to validate.

partialbool

Validate a partial archive (new queries for an existing graph: queries/ only) instead of a full graph archive.

Returns:
problemslist[str]

All structure violations found; an empty list means the archive is valid.