from_file_and_reference_dir_paths#

static ReferenceFilesDirRelativePath.from_file_and_reference_dir_paths(file_path: str | Path, reference_dir: str | Path) ReferenceFilesDirRelativePath#

Create an ReferenceFilesDirRelativePath instance.

Parameters:
file_pathUnion[str, Path]

Path to the referenced file.

reference_dirUnion[str, Path]

Path to the reference directory.

Returns:
ReferenceFilesDirRelativePath

Instance of the reference files directory relative path