Skip to main content

Module path

Module path 

Source
Expand description

Lexical path normalization and include path resolution.

These helpers normalize paths without consulting the file system. They are used by both tree loading and template target collection.

Functionsยง

absolutize_lexical
Converts a path to an absolute path and normalizes it lexically.
normalize_lexical
Normalizes a path by removing lexical . and .. components.
resolve_include_path
Resolves an include path relative to the file that declared it.