Skip to main content

kernel_roots()

The configured kernel roots as expanded, resolved paths (#48).

Usage

Source

kernel_roots(config=None)

Without a config file this is the one default root.

Parameters

config: Config | None = None
A configuration to read the roots from. Passing it avoids a second read of the file.

Returns

list[Path]
The kernel roots.

See Also

add_root(), remove_root()

Edit the list.