Ask a question to get started
Enter to sendā¢Shift+Enter new line
get_relative_path( file: Path | str, *, relative_to: Path = PACKAGE_DIR
file
Path | str
relative_to
Path
PACKAGE_DIR
Get the path of the file as a relative path to the package directory.
The file path to convert.
The base path to make the file path relative to.