commondir
compute the closest common parent for file paths
common-path-prefix
Computes the longest prefix string that is common to each path, excluding the base component
env-paths
Get paths for storing things like data, config, cache, etc
common-path-start
Detects the same starting part of the path in an array of file paths.
xdg-app-paths
Determine (XDG-compatible) paths for storing application files (cache, config, data, etc)