Static
Retrieves the last item of path.
Get full path of the last directory's parent E.g /dir1/dir2/dir3. Call this function will result in /dir1/dir2.
Append paths.
This function will parse the given octal (mode) and return the file modes in json format.
Retrieves the last item of path.