palgen.ingest.path#

Module Contents#

palgen.ingest.path.Relative(self, files)#

Turns absolute file paths into relative (to the project root) file paths.

Parameters:

files (Iterable[Path]) – Iterable of file paths.

Yields:

Path – Resulting relative paths.

Return type:

Iterable[pathlib.Path]

palgen.ingest.path.Absolute(self, files)#

Turns relative (to the project root) file paths into absolute file paths.

Parameters:

files (Iterable[Path]) – Iterable of file paths.

Yields:

Path – Resulting absolute paths.

Return type:

Iterable[pathlib.Path]