• Accepts only an absolute directory path, and returns the array of directories required to insert a directory there

    We assume p ends with a "/", otherwise we add one.

    Parameters

    • p: string

    Returns string[]