Function parse

  • Returns a string representation of a Directory Tree given a path to a directory or file

    Parameters

    • path: string

      The path which you want to inspect

    • Optionaloptions: ParseOptions

      An object used as options of the function

    Returns string

    A string representing the Directory Tree of the given path