Constructors

Methods

  • Get full path of the last directory's parent E.g /dir1/dir2/dir3. Call this function will result in /dir1/dir2.

    Parameters

    • givenPath: string

    Returns string

  • This function will parse the given octal (mode) and return the file modes in json format.

    Parameters

    • mode: number

    Returns FileMode