Find the mount point of a file or directory
ps_fs_mount_point(paths)Paths to files, directories, devices, etc. They must
exist. They are normalized using base::normalizePath().
Character vector, paths to the mount points of the input
paths.
ps_fs_mount_point(".")
#> [1] "/data"