Module dirct.key_mappers.exact_key_mapper

Classes

class ExactKeyMapper

A key mapper that maps keys and file names if and only if they are exactly the same.

Methods

def get_path(self, key: str, parent: pathlib.Path) ‑> pathlib.Path | None
def key_of(self, path: pathlib.Path) ‑> str | None