drop_directory_prefix

drop_directory_prefix(prefix, path): 

LLM Docstring

Return path with the leading portion it shares with prefix removed.

  • prefix: Any

    the prefix path

  • path: Any

    the path to trim

  • :returns: _

    the path relative to the shared prefix


Feedback

Examples

Templates

Documentation