@eagleoutice/flowr - v2.10.1
    Preparing search index...

    Function getParentDirectory

    • Chops off the last part of the given directory path after a path separator, essentially returning the path's parent directory. If an absolute path is passed, the returned path is also absolute.

      Parameters

      • directory: string

        The directory whose parent to return

      Returns string